DATE_2000_JUNARY_SUNDAY
const
Date & Time
A fixed Date anchor set to Sunday 2 January 2000 (new Date(2000, 0, 2)). Used by date-picker and calendar components as a reference Sunday to compute the first day of week offset without depending on the runtime locale or a full-blown date library.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Resolved value
Ecosystem
Used by
Composables and components that consume this constant.
OrigamDatePicker
OrigamCalendar
Usage
Examples
Ready-to-paste code snippets using this constant.
Computing the day-of-week offset for a locale