Calendars v0.1.4 Calendars.Julian View Source

Documentation for the Julian calendar (DR4).

Link to this section Summary

Functions

Easter (Orthodox) Alt.

Returns a Julian date from its parts.

Returns the number of days in the month of _julian_date.

Christmas (Orthodox).

Returns the epoch of the Julian calendar.

Converts source_calendar_date of the source_calendar into the corresponding Julian date.

Converts the fixed date in to the corresponding Julian date.

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

Returns true if the given year is a Julian leap year.

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

Returns true, if j_year is a leap year.

Easter (Orthodox).

Converts julian_date into the corresponding date of target_calendar.

Converts julian_date into the corresponding fixed date.

Converts julian_date into the corresponding Julian Day number.

Link to this section Types

Specs

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

Link to this section Functions

Link to this function

alt_orthodox_easter(g_year)

View Source

Easter (Orthodox) Alt.

Returns a Julian date from its parts.

Link to this function

days_in_month(julian_date)

View Source

Returns the number of days in the month of _julian_date.

Link to this function

eastern_orthodox_christmas(g_year)

View Source

Christmas (Orthodox).

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

Converts the fixed date in to the corresponding Julian date.

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

Returns true if the given year is a Julian leap year.

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

Returns true, if j_year is a leap year.

Easter (Orthodox).

Link to this function

to_date(julian_date, target_calendar)

View Source

Converts julian_date into the corresponding date of target_calendar.

Converts julian_date into the corresponding fixed date.

Converts julian_date into the corresponding Julian Day number.