Calendars v0.1.0 Calendars.OldHinduLunar View Source

Documentation for the OldHinduLunar calendar (DR4).

Link to this section Summary

Functions

Returns a OldHinuLunar date from its parts.

Returns the epoch of the OldHinuLunar calendar.

Converts source_calendar_date of the source_calendar into the corresponding OldHinuLunar date.

Converts the fixed date in to the corresponding OldHinuLunar date.

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

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

Converts old_hindu_lunar_date into the corresponding date of target_calendar.

Converts old_hindu_lunar_date into the corresponding fixed date.

Converts old_hindu_lunar_date into the corresponding Julian Day number.

Link to this section Types

Specs

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

Link to this section Functions

Link to this function

date(year, month, leap, day)

View Source

Returns a OldHinuLunar date from its parts.

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

Converts the fixed date in to the corresponding OldHinuLunar date.

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

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

Link to this function

to_date(old_hindu_lunar_date, target_calendar)

View Source

Converts old_hindu_lunar_date into the corresponding date of target_calendar.

Link to this function

to_fixed(old_hindu_lunar_date)

View Source

Converts old_hindu_lunar_date into the corresponding fixed date.

Link to this function

to_jd(old_hindu_lunar_date)

View Source

Converts old_hindu_lunar_date into the corresponding Julian Day number.