Calendars v0.1.4 Calendars.Unix View Source

Documentation for the Unix calendar (DR4).

Link to this section Summary

Functions

Returns a Unix date from its parts.

Returns the epoch of the Unix calendar.

Converts source_calendar_date of the source_calendar into the corresponding Unix date.

Converts the fixed date in to the corresponding Unix date.

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

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

Converts unix_date into the corresponding date of target_calendar.

Converts unix_date into the corresponding fixed date.

Converts unix_date into the corresponding Julian Day number.

Link to this section Types

Specs

t() :: unix()

Link to this section Functions

Returns a Unix date from its parts.

Returns the epoch of the Unix 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 Unix date.

Converts the fixed date in to the corresponding Unix date.

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

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

Link to this function

to_date(unix_date, target_calendar)

View Source

Converts unix_date into the corresponding date of target_calendar.

Converts unix_date into the corresponding fixed date.

Converts unix_date into the corresponding Julian Day number.