The Jalaali (Persian) calendar, the arithmetic algorithm of jalaali-js
(Behrooz Khosravi, after Borkowski) which the reference implementation
uses. Valid for Jalaali years -61 to 3177.
Summary
Functions
The Jalaali date of a Gregorian date, as {year, month, day}.
The Gregorian date of a Jalaali date.
Functions
The Jalaali date of a Gregorian date, as {year, month, day}.
iex> Dayoff.Calendar.Jalaali.from_gregorian(~D[2026-01-01])
{1404, 10, 11}
The Gregorian date of a Jalaali date.
iex> Dayoff.Calendar.Jalaali.to_gregorian(1405, 1, 1)
~D[2026-03-21]