The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
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[@]dogado.de.

Module calendrica-french-revolutionary

French Revolutionary calendar conversions (astronomical and arithmetic).

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_french (f_date) Fixed date of astronomical French Revolutionary date `f_date`.
french_from_fixed (date) Astronomical French Revolutionary date {year, month, day} for fixed `date`.
french_leap_year (f_year) True if `f_year` is an astronomical French Revolutionary leap year.
arithmetic_french_leap_year (f_year) True if `f_year` is an arithmetic French Revolutionary leap year.
fixed_from_arithmetic_french (f_date) Fixed date of Arithmetic French Revolutionary date `f_date`.
arithmetic_french_from_fixed (date) Arithmetic French Revolutionary date {year, month, day} of fixed `date`.


Functions

fixed_from_french (f_date)
Fixed date of astronomical French Revolutionary date `f_date`.

Parameters:

  • f_date table French date {year, month, day}.

Returns:

    number Fixed date.
french_from_fixed (date)
Astronomical French Revolutionary date {year, month, day} for fixed `date`. Uses `round_half_to_even` to match Lisp's `round`.

Parameters:

  • date number Fixed date.

Returns:

    table {year, month, day}
french_leap_year (f_year)
True if `f_year` is an astronomical French Revolutionary leap year.

Parameters:

  • f_year number French Revolutionary year.

Returns:

    boolean
arithmetic_french_leap_year (f_year)
True if `f_year` is an arithmetic French Revolutionary leap year.

Parameters:

  • f_year number French Revolutionary year.

Returns:

    boolean
fixed_from_arithmetic_french (f_date)
Fixed date of Arithmetic French Revolutionary date `f_date`.

Parameters:

  • f_date table Arithmetic French date {year, month, day}.

Returns:

    number Fixed date.
arithmetic_french_from_fixed (date)
Arithmetic French Revolutionary date {year, month, day} of fixed `date`.

Parameters:

  • date number Fixed date.

Returns:

    table {year, month, day}
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.
Health stats visible at Monitor.