Package se.krka.kahlua.stdlib
Class OsLib
java.lang.Object
se.krka.kahlua.stdlib.OsLib
- All Implemented Interfaces:
JavaFunction
public class OsLib extends java.lang.Object implements JavaFunction
-
Field Summary
Fields Modifier and Type Field Description static int
TIME_DIVIDEND
static double
TIME_DIVIDEND_INVERTED
-
Method Summary
Modifier and Type Method Description int
call(LuaCallFrame luaCallFrame, int int1)
static java.lang.String
formatTime(java.lang.String string, java.util.Calendar calendar)
static java.lang.Object
getdate(java.lang.String string, long long1, Platform platform)
static java.lang.Object
getdate(java.lang.String string, Platform platform)
static java.util.Date
getDateFromTable(KahluaTable kahluaTable)
static int
getDayOfYear(java.util.Calendar calendar)
static KahluaTable
getTableFromDate(java.util.Calendar calendar, Platform platform)
static int
getWeekOfYear(java.util.Calendar calendar, boolean boolean1, boolean boolean2)
static void
register(Platform platform, KahluaTable kahluaTable)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
TIME_DIVIDEND
public static final int TIME_DIVIDEND- See Also:
- Constant Field Values
-
TIME_DIVIDEND_INVERTED
public static final double TIME_DIVIDEND_INVERTED- See Also:
- Constant Field Values
-
-
Method Details
-
register
-
call
- Specified by:
call
in interfaceJavaFunction
-
getdate
-
getdate
-
formatTime
public static java.lang.String formatTime(java.lang.String string, java.util.Calendar calendar) -
getTableFromDate
-
getDateFromTable
-
getDayOfYear
public static int getDayOfYear(java.util.Calendar calendar) -
getWeekOfYear
public static int getWeekOfYear(java.util.Calendar calendar, boolean boolean1, boolean boolean2)
-