Calendars v0.1.2 Calendars.HinduLunar View Source

Documentation for the HinduLunar calendar (DR4).

Link to this section Summary

Functions

Returns a HinduLunar date from its parts.

Diwali.

Returns the epoch of the HinduLunar calendar.

Converts source_calendar_date of the source_calendar into the corresponding HinduLunar date.

Converts the fixed date in to the corresponding HinduLunar date.

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

Hindu Lunar New Year.

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

Mesha Samkranti.

Birthday of Rama.

Sacred Wednesday (first).

Great Night of Shiva.

Converts hindu_lunar_date into the corresponding date of target_calendar.

Converts hindu_lunar_date into the corresponding fixed date.

Converts hindu_lunar_date into the corresponding Julian Day number.

Link to this section Types

Specs

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

Link to this section Functions

Link to this function

date(year, month, leap_month, day, leap_day)

View Source

Returns a HinduLunar date from its parts.

Diwali.

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

Converts the fixed date in to the corresponding HinduLunar date.

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

Link to this function

hindu_lunar_new_year(g_year)

View Source

Hindu Lunar New Year.

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

Mesha Samkranti.

Birthday of Rama.

Link to this function

sacred_wednesdays(g_year)

View Source

Sacred Wednesday (first).

Great Night of Shiva.

Link to this function

to_date(hindu_lunar_date, target_calendar)

View Source

Converts hindu_lunar_date into the corresponding date of target_calendar.

Link to this function

to_fixed(hindu_lunar_date)

View Source

Converts hindu_lunar_date into the corresponding fixed date.

Converts hindu_lunar_date into the corresponding Julian Day number.