Calendars v0.1.0 Calendars.Bahai View Source

Documentation for the Bahai calendar (DR4).

Link to this section Summary

Functions

Birth of the Bab.

Returns a Bahai date from its parts.

Returns the epoch of the Bahai calendar.

Feast of Ridvan.

Converts source_calendar_date of the source_calendar into the corresponding Bahai date.

Converts the fixed date in to the corresponding Bahai date.

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

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

Feast of Naw-Ruz.

Baha'i New Year.

Converts bahai_date into the corresponding date of target_calendar.

Converts bahai_date into the corresponding fixed date.

Converts bahai_date into the corresponding Julian Day number.

Link to this section Types

Specs

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

Link to this section Functions

Link to this function

birth_of_the_bab(g_year)

View Source

Birth of the Bab.

Link to this function

date(major, cycle, year, month, day)

View Source

Returns a Bahai date from its parts.

Returns the epoch of the Bahai calendar.

Feast of Ridvan.

Link to this function

from_date(source_calendar_date, source_calendar)

View Source

Converts source_calendar_date of the source_calendar into the corresponding Bahai date.

Converts the fixed date in to the corresponding Bahai date.

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

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

Feast of Naw-Ruz.

Baha'i New Year.

Link to this function

to_date(bahai_date, target_calendar)

View Source

Converts bahai_date into the corresponding date of target_calendar.

Converts bahai_date into the corresponding fixed date.

Converts bahai_date into the corresponding Julian Day number.