Skip to contents

Package

calcal calcal-package
calcal: Calendrical Calculations

Create new calendars and dates

Gregorian calendar

gregorian_date() as_gregorian()
Gregorian calendar dates

Babylonian calendar

babylonian_date() as_babylonian()
Babylonian calendar dates

Baháʼí calendar

bahai_date() as_bahai()
Bahá'í calendar dates

Balinese calendar

balinese_date() as_balinese()
Balinese Pawukon calendar dates

Chinese, Japanese, Korean and Vietnamese calendars

Coptic and Ethiopic calendars

coptic_date() ethiopic_date() as_coptic() as_ethiopic()
Coptic and Ethoiopic calendar dates

Egyptian and Armenian calendars

egyptian_date() armenian_date() as_egyptian() as_armenian()
Egyptian and Armenian calendar dates

French revolutionary calendar

french_date() afrench_date() as_french() as_afrench()
French Revolutionary calendar dates

Hebrew calendar

Hindu calendars

Icelandic calendar

icelandic_date() as_icelandic()
Icelandic calendar dates

Islamic calendar

ISO calendar

iso_date() as_iso()
ISO calendar dates

Julian calendar

julian_date() as_julian()
Julian calendar dates

Mayan calendar

mayan_date() as_mayan()
Mayan calendar dates

Persian calendar

Roman calendar

roman_date() as_roman()
Roman calendar dates

Tibetan calendar

tibetan_date() as_tibetan()
Tibetan calendar dates

Holidays and special days

Granularities

Time of day

time_of_day()
Time of day
as_time_of_day()
Convert to time of day

Locations

location()
Locations

Astronomical functions

lunar_phase()
Lunar phase at date
new_moons() full_moons()
Full moons and new moons in Gregorian years
sunrise() sunset() moonset() moonrise()
Sun and moon rise and set given a date and location