Skip to main content

Module range

Module range 

Source
Expand description

Two ends of a range over a host-owned calendar.

The picker reports and never judges. An incomplete range is a state of its own rather than an error; an end before its start is said out loud instead of quietly swapped; and a blocked day inside a range is named, leaving the host to decide whether that makes the range unusable.

Structs§

BlockedDay
One day inside a range the adapter refuses, in the host’s own words.
DayRange
A range as the caller holds it: a start, and an end once there is one.
RangePicker
A calendar with two ends and a running account of what they add up to.

Enums§

BlockedReport
What the picker can say about the days between the two ends.
RangePickerEvent
What a range picker reports. The owner decides what any of it means.
RangeState
What the picker currently holds.