Calendars v0.1.2 Calendars.Persian View Source

Documentation for the Persian calendar (DR4).

Link to this section Summary

Functions

Returns a Persian date from its parts.

Returns the epoch of the Persian calendar.

Converts source_calendar_date of the source_calendar into the corresponding Persian date.

Converts the fixed date in to the corresponding Persian date.

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

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

Nowruz.

Converts persian_date into the corresponding date of target_calendar.

Converts persian_date into the corresponding fixed date.

Converts 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 Persian date from its parts.

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

Converts the fixed date in to the corresponding Persian date.

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

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

Nowruz.

Link to this function

to_date(persian_date, target_calendar)

View Source

Converts persian_date into the corresponding date of target_calendar.

Converts persian_date into the corresponding fixed date.

Converts persian_date into the corresponding Julian Day number.