The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Module calendrica-iso

ISO week-date 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.1 2026-07-19

Functions

fixed_from_iso (i_date) Fixed date equivalent to ISO date `i_date`.
iso_from_fixed (date) ISO date {year, week, day} corresponding to fixed `date`.
iso_long_year (i_year) True if ISO year `i_year` is a long year (53 weeks).


Functions

fixed_from_iso (i_date)
Fixed date equivalent to ISO date `i_date`.

Parameters:

  • i_date table ISO date {year, week, day}.

Returns:

    number Fixed date.
iso_from_fixed (date)
ISO date {year, week, day} corresponding to fixed `date`.

Parameters:

  • date number Fixed date.

Returns:

    table {year, week, day}
iso_long_year (i_year)
True if ISO year `i_year` is a long year (53 weeks).

Parameters:

  • i_year number ISO year.

Returns:

    boolean
generated by LDoc 1.5.0 Last updated 2026-07-19 03:28:25

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.