Calendars v0.1.2 Calendars.RataDie View Source
Documentation for the RataDie calendar (DR4).
This calendar is based on fixed
dates. Its implementation
is trivial. The central functions date
, from_fixed
and
to_fixed
are simply identity functions.
(DR4 10ff)
Link to this section Summary
Functions
Returns a RataDie date from its parts.
Returns the epoch of the RataDie calendar.
Converts source_calendar_date
of the source_calendar
into the
corresponding RataDie date.
Converts the fixed
date in to the corresponding RataDie date.
(This is an identity function given just for completeness.)
Converts the Julian Day number jd
into the corresponding RataDie date.
Returns the keyword used to access data in the DR4 sample data.
Converts jd_date
into the corresponding date of
target_calendar
.
Converts rd_date
into the corresponding fixed
date.
(This is an identity function given just for completeness.)
Converts jd_date
into the corresponding Julian Day number.
Link to this section Types
Specs
t() :: rd()
Link to this section Functions
Returns a RataDie date from its parts.
Returns the epoch of the RataDie calendar.
Converts source_calendar_date
of the source_calendar
into the
corresponding RataDie date.
Converts the fixed
date in to the corresponding RataDie date.
(This is an identity function given just for completeness.)
Converts the Julian Day number jd
into the corresponding RataDie date.
Returns the keyword used to access data in the DR4 sample data.
Converts jd_date
into the corresponding date of
target_calendar
.
Converts rd_date
into the corresponding fixed
date.
(This is an identity function given just for completeness.)
Converts jd_date
into the corresponding Julian Day number.