This class represents a calendar based on the International Atomic Time. Validity is from 1958 onwards, with dates represented using the Gregorian calendar. Given that this "calendar" is based on a universal clock, the concepts of leap second, time zone and daylight savings time do not apply.
CFtime::CFCalendar
-> CFtime::CFCalendarProleptic
-> CFCalendarTAI
Inherited methods
CFtime::CFCalendar$is_compatible()
CFtime::CFCalendar$is_equivalent()
CFtime::CFCalendar$offsets2time()
CFtime::CFCalendar$parse()
CFtime::CFCalendar$print()
CFtime::CFCalendarProleptic$POSIX_compatible()
CFtime::CFCalendarProleptic$date2offset()
CFtime::CFCalendarProleptic$initialize()
CFtime::CFCalendarProleptic$leap_year()
CFtime::CFCalendarProleptic$month_days()
CFtime::CFCalendarProleptic$offset2date()
valid_days()
Indicate which of the supplied dates are valid.
CFCalendarTAI$valid_days(ymd)
ymd
data.frame
with dates parsed into their parts in columns
year
, month
and day
. If present, the tz
column is checked for
illegal time zone offsets. Any other columns are disregarded.
Logical vector with the same length as argument ymd
has rows
with TRUE
for valid days and FALSE
for invalid days, or NA
where
the row in argument ymd
has NA
values.
clone()
The objects of this class are cloneable with this method.
CFCalendarTAI$clone(deep = FALSE)
deep
Whether to make a deep clone.