Calendars v0.1.0 Calendars.MayanLongCount View Source

Documentation for the MayanLongCount calendar (DR4).

Link to this section Summary

Functions

Returns a MayanLongCount date from its parts.

Returns the epoch of the MayanLongCount calendar.

Converts source_calendar_date of the source_calendar into the corresponding MayanLongCount date.

Converts the fixed date in to the corresponding MayanLongCount date.

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

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

Converts mayan_long_count_date into the corresponding date of target_calendar.

Converts mayan_long_count_date into the corresponding fixed date.

Converts mayan_long_count_date into the corresponding Julian Day number.

Link to this section Types

Specs

t() :: {baktun(), katun(), tun(), uinal(), kin()}

Specs

tun() :: 0..17

Link to this section Functions

Link to this function

date(baktun, katun, tun, uinal, kin)

View Source

Returns a MayanLongCount date from its parts.

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

Converts the fixed date in to the corresponding MayanLongCount date.

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

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

Link to this function

to_date(mayan_long_count_date, target_calendar)

View Source

Converts mayan_long_count_date into the corresponding date of target_calendar.

Link to this function

to_fixed(mayan_long_count_date)

View Source

Converts mayan_long_count_date into the corresponding fixed date.

Link to this function

to_jd(mayan_long_count_date)

View Source

Converts mayan_long_count_date into the corresponding Julian Day number.