CFCalendarTAI: International Atomic Time CF calendar

CFCalendarTAIR 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

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 columns year, month and day. If present, the tz 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.


CFtime documentation built on April 12, 2025, 5:07 p.m.