Expand description
The Gregorian calendar
Constants§
- DAYS_
IN_ 400_ YEAR_ CYCLE - The number of days in the 400 year cycle.
Functions§
- day_
before_ year - Calculates the day before Jan 1 of
year. - days_
before_ month - The number of days in this year before this month starts
- easter
- Calculates the date of Easter in the given year
- fixed_
from_ gregorian - Lisp code reference: https://github.com/EdReingold/calendar-code2/blob/1ee51ecfaae6f856b0d7de3e36e9042100b4f424/calendar.l#L1167-L1189
- gregorian_
from_ fixed - Lisp code reference: https://github.com/EdReingold/calendar-code2/blob/1ee51ecfaae6f856b0d7de3e36e9042100b4f424/calendar.l#L1525-L1540
- is_
leap_ year - Whether or not
yearis a leap year - year_
day - Calculates the month/day from the 1-based day of the year
- year_
from_ fixed - Lisp code reference: https://github.com/EdReingold/calendar-code2/blob/1ee51ecfaae6f856b0d7de3e36e9042100b4f424/calendar.l#L1191-L1217