This class represents a calendar based on the Coordinated Universal Time. Validity is from 1972 onwards, with dates represented using the Gregorian calendar, up to the present (so future timestamps are not allowed). Leap seconds are considered in all calculations. Also, time zone information is irrelevant and may not be given.
In general, the calendar should use a unit of time of a second. Minute, hour and day are allowed but discouraged. Month and year as time unit are not allowed as there is no practical way to maintain leap second accuracy.
Super classes
CFtime::CFCalendar
-> CFtime::CFCalendarProleptic
-> CFCalendarUTC
Methods
Inherited methods
CFtime::CFCalendar$add_day()
CFtime::CFCalendar$is_compatible()
CFtime::CFCalendar$is_equivalent()
CFtime::CFCalendar$print()
CFtime::CFCalendarProleptic$POSIX_compatible()
CFtime::CFCalendarProleptic$date2offset()
CFtime::CFCalendarProleptic$leap_year()
CFtime::CFCalendarProleptic$month_days()
CFtime::CFCalendarProleptic$offset2date()
Method valid_days()
Indicate which of the supplied dates are valid.
Method parse()
Parsing a vector of date-time character strings into parts. This includes any leap seconds. Time zone indications are not allowed.
Method offsets2time()
Decompose a vector of offsets, in units of the calendar, to
their timestamp values. This adds a specified amount of time to the
origin of a CFTime
object.