LocalTime object
Represents limited information about the current time relative to the parent object.
On this page
Fields
-
date (
Date!
)The current date relative to the parent object.
-
dateTimeAfter (
Boolean!
)Returns true if the current date and time is at or past the given date and time, and false otherwise.
Argument Description dateTime
(DateTimeWithoutTimezone!
) requiredThe date and time to compare against, assumed to be in the timezone of the parent object.
-
dateTimeBefore (
Boolean!
)Returns true if the current date and time is before the given date and time, and false otherwise.
Argument Description dateTime
(DateTimeWithoutTimezone!
) requiredThe date and time to compare against, assumed to be in the timezone of the parent timezone.
-
dateTimeBetween (
Boolean!
)Returns true if the current date and time is between the two given date and times, and false otherwise.
Argument Description endDateTime
(DateTimeWithoutTimezone!
) requiredThe upper bound time to compare against, assumed to be in the timezone of the parent timezone.
startDateTime
(DateTimeWithoutTimezone!
) requiredThe lower bound time to compare against, assumed to be in the timezone of the parent timezone.
-
timeAfter (
Boolean!
)Returns true if the current time is at or past the given time, and false otherwise.
Argument Description time
(TimeWithoutTimezone!
) requiredThe time to compare against, assumed to be in the timezone of the parent timezone.
-
timeBefore (
Boolean!
)Returns true if the current time is at or past the given time, and false otherwise.
Argument Description time
(TimeWithoutTimezone!
) requiredThe time to compare against, assumed to be in the timezone of the parent timezone.
-
timeBetween (
Boolean!
)Returns true if the current time is between the two given times, and false otherwise.
Argument Description endTime
(TimeWithoutTimezone!
) requiredThe upper bound time to compare against, assumed to be in the timezone of the parent timezone.
startTime
(TimeWithoutTimezone!
) requiredThe lower bound time to compare against, assumed to be in the timezone of the parent timezone.