Interface: CalendarDate
Defined in: src/lib/dates/index.ts:17
A timezone-free, time-of-day-free calendar date — the unit all pay-period, week, and holiday
math in this module operates on. Fields are 1-indexed for month/day (unlike JS Date). Construct
via makeDate or fromISO to get validation; the bare object literal is unchecked.
Properties
day
readonlyday:number
Defined in: src/lib/dates/index.ts:23
Day of month, 1-31.
month
readonlymonth:number
Defined in: src/lib/dates/index.ts:21
Month, 1-12 (not 0-indexed).
year
readonlyyear:number
Defined in: src/lib/dates/index.ts:19
Full year, e.g. 2026.