Calendars v0.1.2 Calendars.ArithmeticPersian View Source

Documentation for the ArithmeticPersian calendar (DR4).

Link to this section Summary

Functions

Returns a ArithmeticPersian date from its parts.

Returns the epoch of the ArithmeticPersian calendar.

Converts source_calendar_date of the source_calendar into the corresponding ArithmeticPersian date.

Converts the fixed date in to the corresponding ArithmeticPersian date.

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

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

Converts arithmetic_persian_date into the corresponding date of target_calendar.

Converts arithmetic_persian_date into the corresponding fixed date.

Converts arithmetic_persian_date into the corresponding Julian Day number.

Link to this section Types

Specs

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

Link to this section Functions

Returns a ArithmeticPersian date from its parts.

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

Converts the fixed date in to the corresponding ArithmeticPersian date.

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

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

Link to this function

to_date(arithmetic_persian_date, target_calendar)

View Source

Converts arithmetic_persian_date into the corresponding date of target_calendar.

Link to this function

to_fixed(arithmetic_persian_date)

View Source

Converts arithmetic_persian_date into the corresponding fixed date.

Link to this function

to_jd(arithmetic_persian_date)

View Source

Converts arithmetic_persian_date into the corresponding Julian Day number.