Skip to contents

A virtual S4 class to represent a calendar.

Slots

label

A character string specifying the abbreviated label of the time scale.

name

A character string specifying the name of the time scale.

epoch

A numeric value specifying the epoch year from which years are counted (starting date of the calendar, in years). Allows to define multiple era of a calendar.

fixed

A numeric value specifying the reference date of the calendar (in rata die).

direction

An integer specifying if years are counted backwards (-1) or forwards (1) from epoch.

year

A numeric value giving the average length of the year in solar days.

Author

N. Frerebeau