Home /Modules/calendar/README.md

README.md

calendar/src/README.md · 57 line(s) · markdown

calendar/src — SLeeLa sources

The SLeeLa implementation of the Calendar system. Each class maps to a concept in the calendar documents (../00…../99) and carries the required Metadata Class metapattern (see .kiro/steering/metadata-class-standard.md).

Classes

ClassConceptDocument
SLCalendarJulianJulian baseline, y % 4 leap rule, serial-day arithmetic../01-julian-baseline.md
SLCalendarGregorianGregorian 4/100/400 leap rule, day-of-week../02-gregorian-reform.md
SLCalendarConverterOld Style / New Style offset (10/11/13 days)../02, ../04, ../06
SLCalendarIntegrationUSThe U.S. System of Integration (4 layers)../06-system-of-integration-united-states.md
SLUnifiedCalendarThe Unified Calendar + overlay principle../99-unified-calendar.md

Two forms of the source

Validate

# from the repo root, using the committed prebuilt toolchain:
./working-binaries/sleela check calendar/src/CalendarSystem.sleela
./working-binaries/sleela run   calendar/src/CalendarSystem.sleela

Expected highlights from run (all verified):

Julian 1900 leap? true          Gregorian 1900 leap? false   Gregorian 2000 leap? true
Offset 1582-10-15 (expect 10): 10
Offset 1752-09-14 (expect 11): 11
Offset 1918-02-14 (expect 13): 13
Weekday 2000-01-01 (expect 6=Sat): 6
Canonical date 2026-11-7: 2026-11-07

Notes