public interface PsyTime
An utility class providing time-related methods.
-
Field Summary
FieldsModifier and TypeFieldDescriptionAn array consisting of the name of the calendar fields.static final ContextActionContext action of thecalendaroperator.static final ContextActionContext action of thetimeoperator. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic PsyDictpsyCalendar(PsyInteger oTime) static PsyIntegerpsyCalendarTime(PsyFormalDict<PsyObject> oCalendar) static PsyIntegerpsyTime()Returns anintegerobject representing the current time (in milliseconds since 1970.01.01 00:00:00 GMT).
-
Field Details
-
PSY_TIME
Context action of thetimeoperator. -
PSY_CALENDAR
Context action of thecalendaroperator. -
CALENDAR_FIELDS
An array consisting of the name of the calendar fields.
-
-
Method Details
-
psyTime
Returns anintegerobject representing the current time (in milliseconds since 1970.01.01 00:00:00 GMT).- Returns:
- an
integerobject representing the current time (in milliseconds since 1970.01.01 00:00:00 GMT)
-
psyCalendar
-
psyCalendarTime
- Throws:
PsyUndefinedException
-