Calendars v0.1.4 Calendars.ISO View Source

Documentation for the ISO calendar (DR4).

Link to this section Summary

Functions

Returns a ISO date from its parts.

Returns the epoch of the ISO calendar.

Converts source_calendar_date of the source_calendar into the corresponding ISO date.

Converts the fixed date in to the corresponding ISO date.

Converts the Julian Day number jd into the corresponding ISO date.

Returns the keyword used to access data in the DR4 sample data.

Converts iso_date into the corresponding date of target_calendar.

Converts iso_date into the corresponding fixed date.

Converts iso_date into the corresponding Julian Day number.

Link to this section Types

Specs

t() :: {year(), week(), day()}

Link to this section Functions

Returns a ISO date from its parts.

Returns the epoch of the ISO calendar.

Link to this function

from_date(source_calendar_date, source_calendar)

View Source

Converts source_calendar_date of the source_calendar into the corresponding ISO date.

Converts the fixed date in to the corresponding ISO date.

Converts the Julian Day number jd into the corresponding ISO date.

Returns the keyword used to access data in the DR4 sample data.

Link to this function

to_date(iso_date, target_calendar)

View Source

Converts iso_date into the corresponding date of target_calendar.

Converts iso_date into the corresponding fixed date.

Converts iso_date into the corresponding Julian Day number.