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 ContextAction
Context action of thecalendar
operator.static final ContextAction
Context action of thetime
operator. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic PsyDict
psyCalendar
(PsyInteger oTime) static PsyInteger
psyCalendarTime
(PsyFormalDict<PsyObject> oCalendar) static PsyInteger
psyTime()
Returns aninteger
object representing the current time (in milliseconds since 1970.01.01 00:00:00 GMT).
-
Field Details
-
PSY_TIME
Context action of thetime
operator. -
PSY_CALENDAR
Context action of thecalendar
operator. -
CALENDAR_FIELDS
An array consisting of the name of the calendar fields.
-
-
Method Details
-
psyTime
Returns aninteger
object representing the current time (in milliseconds since 1970.01.01 00:00:00 GMT).- Returns:
- an
integer
object representing the current time (in milliseconds since 1970.01.01 00:00:00 GMT)
-
psyCalendar
-
psyCalendarTime
- Throws:
PsyUndefinedException
-