Module iso

Source
Expand description

The ISO calendar (also usable as Gregorian)

Functionsยง

const_fixed_from_iso
Lisp code reference: https://github.com/EdReingold/calendar-code2/blob/1ee51ecfaae6f856b0d7de3e36e9042100b4f424/calendar.l#L1167-L1189
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_iso
Non-const version of const_fixed_from_iso
is_leap_year
Whether or not year is a leap year
iso_from_fixed
Lisp code reference: https://github.com/EdReingold/calendar-code2/blob/1ee51ecfaae6f856b0d7de3e36e9042100b4f424/calendar.l#L1525-L1540
iso_year_from_fixed
Lisp code reference: https://github.com/EdReingold/calendar-code2/blob/1ee51ecfaae6f856b0d7de3e36e9042100b4f424/calendar.l#L1191-L1217
year_day
Calculates the month/day from the 1-based day of the year