CFCalendarTAI {CFtime} | R Documentation |
International Atomic Time CF calendar
Description
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.
Super classes
CFtime::CFCalendar
-> CFtime::CFCalendarProleptic
-> CFCalendarTAI
Methods
Public methods
Inherited methods
CFtime::CFCalendar$add_day()
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()
Method valid_days()
Indicate which of the supplied dates are valid.
Usage
CFCalendarTAI$valid_days(ymd)
Arguments
ymd
data.frame
with dates parsed into their parts in columnsyear
,month
andday
. If present, thetz
column is checked for illegal time zone offsets. Any other columns are disregarded.
Returns
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.
Method clone()
The objects of this class are cloneable with this method.
Usage
CFCalendarTAI$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.