aboutsummaryrefslogtreecommitdiff
path: root/lib/kernel/date.ml
Commit message (Collapse)AuthorAgeFilesLines
* kernel(date): proleptic Gregorian date, validated make + arithmeticLukasz Kasprzak2026-07-311-0/+58
Hinnant civil<->days rep (1970-epoch rata die); make validates month/day and the 1583..9999 domain; of_rata/add_days are total arithmetic. Weekday, compare. Tested: known weekdays, leap boundaries, rejects; qcheck round-trip / add-inverse / weekday-cycle properties over random in-range dates.