Module calendrica-icelandic

Icelandic calendar conversions.

Ported from “Calendrical Calculations” (4th edition) by Nachum Dershowitz and Edward M. Reingold. Original Lisp code (CALENDRICA 4.0) is Apache 2.0 licensed.

Info:

  • Release: 0.2 2026-09-21

Functions

fixed_from_icelandic (i_date) Fixed date equivalent to Icelandic date i_date.
icelandic_from_fixed (date) Icelandic date {year, season, week, weekday} corresponding to fixed date.
icelandic_summer (i_year) Fixed date of start of summer season in Icelandic year i_year.
icelandic_winter (i_year) Fixed date of start of winter season in Icelandic year i_year.
icelandic_leap_year (i_year) True if Icelandic year i_year is a leap year (53 weeks).
icelandic_month (i_date) Month number of Icelandic date i_date.


Functions

fixed_from_icelandic (i_date)
Fixed date equivalent to Icelandic date i_date.

Parameters:

  • i_date table Icelandic date {year, season, week, weekday}.

Returns:

    number Fixed date.
icelandic_from_fixed (date)
Icelandic date {year, season, week, weekday} corresponding to fixed date.

Parameters:

  • date number Fixed date.

Returns:

    table {year, season, week, weekday}
icelandic_summer (i_year)
Fixed date of start of summer season in Icelandic year i_year.

Parameters:

  • i_year number Icelandic year.

Returns:

    number Fixed date.
icelandic_winter (i_year)
Fixed date of start of winter season in Icelandic year i_year.

Parameters:

  • i_year number Icelandic year.

Returns:

    number Fixed date.
icelandic_leap_year (i_year)
True if Icelandic year i_year is a leap year (53 weeks).

Parameters:

  • i_year number Icelandic year.

Returns:

    boolean
icelandic_month (i_date)
Month number of Icelandic date i_date.

Parameters:

  • i_date table Icelandic date {year, season, week, weekday}.

Returns:

    number Month number.
generated by LDoc 1.5.0 Last updated 2026-10-01 02:01:33