Calendars v0.1.4 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.
Returns the English names of the weekdays as list.
Daylight Saving End.
Daylight Saving Start.
Returns the number of days in the month of _gregorian_date.
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.
Returns end of the current year as a Gregorian date.
Returns end of the current week as a Gregorian date.
Returns end of the current year as a Gregorian date.
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 true is the given year is a Gregorian leap year.
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 English names of the months as list.
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.
Returns start of the current year as a Gregorian date.
Returns start of the current week as a Gregorian date.
Returns start of the current year as a Gregorian 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.
Returns the date of today.
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.
Returns the English names of the weekdays as list.
Daylight Saving End.
Daylight Saving Start.
Returns the number of days in the month of _gregorian_date.
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.
Returns end of the current year as a Gregorian date.
Returns end of the current week as a Gregorian date.
Returns end of the current year as a Gregorian date.
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 true is the given year is a Gregorian leap year.
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 English names of the months as list.
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.
Returns start of the current year as a Gregorian date.
Returns start of the current week as a Gregorian date.
Returns start of the current year as a Gregorian 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.
Returns the date of today.
Friday the 13th (first).