Calendars v0.1.2 Calendars.Gregorian View Source
Documentation for the Gregorian calendar (DR4).
Link to this section Summary
Functions
Advent Sunday.
Christmas.
Returns a Gregorian date from its parts.
Daylight Saving End.
Daylight Saving Start.
Returns the number of days in the month of _g_date
.
Returns the number of days in the month of fixed
date.
Returns the number of days in the quarter of g_date
.
Returns the number of days in the quarter of fixed
date.
Easter.
U.S. Election Day.
Epiphany.
Returns the epoch of the Gregorian calendar.
Converts source_calendar_date
of the source_calendar
into the
corresponding Gregorian date.
Converts the fixed
date in to the corresponding Gregorian date.
Converts the Julian Day number jd
into the corresponding Gregorian date.
U.S. Independence Day.
Returns the keyword used to access data in the DR4 sample data.
U.S. Labor Day.
Returns true, if g_year
is a leap year.
U.S. Memorial Day.
Returns the name of the month from the Gregorian date _g_date
.
Returns the name of the month from the fixed
date.
Pentecost.
Returns the quarter of the year from the Gregorian date _g_date
.
Returns the quarter of the year from the fixed
date.
Converts gregorian_date
into the corresponding date of
target_calendar
.
Converts gregorian_date
into the corresponding fixed
date.
Converts gregorian_date
into the corresponding Julian Day number.
Friday the 13th (first).
Link to this section Types
Specs
t() :: {year(), month(), day()}
Link to this section Functions
Advent Sunday.
Christmas.
Returns a Gregorian date from its parts.
Daylight Saving End.
Daylight Saving Start.
Returns the number of days in the month of _g_date
.
Returns the number of days in the month of fixed
date.
Returns the number of days in the quarter of g_date
.
Returns the number of days in the quarter of fixed
date.
Easter.
U.S. Election Day.
Epiphany.
Returns the epoch of the Gregorian calendar.
Converts source_calendar_date
of the source_calendar
into the
corresponding Gregorian date.
Converts the fixed
date in to the corresponding Gregorian date.
Converts the Julian Day number jd
into the corresponding Gregorian date.
U.S. Independence Day.
Returns the keyword used to access data in the DR4 sample data.
U.S. Labor Day.
Returns true, if g_year
is a leap year.
U.S. Memorial Day.
Returns the name of the month from the Gregorian date _g_date
.
Returns the name of the month from the fixed
date.
Pentecost.
Returns the quarter of the year from the Gregorian date _g_date
.
Returns the quarter of the year from the fixed
date.
Converts gregorian_date
into the corresponding date of
target_calendar
.
Converts gregorian_date
into the corresponding fixed
date.
Converts gregorian_date
into the corresponding Julian Day number.
Friday the 13th (first).