OrreryDateRangePickerState
State for OrreryDateRangePickerDialog: the selected range, the display mode, and the visible month. Writes to setSelection are validated like clicks (bounds, disabled dates, and range length); an end before the start is dropped, other invalid writes are ignored.
Properties
Functions
Link copied to clipboard
Replaces the range through selection-engine validation; null start clears. A reversed pair (end before start) is clamped to a half-open range (end = null) before proposing, since the engine's length check only rejects reversed pairs when minDays/maxDays are configured.