Expand description
Stable type aliases for the date/time types used across the four
datetime widgets. Routes through jiff today; swap-friendly because
the widgets never name jiff directly.
Structs§
- Date
- A representation of a civil date in the Gregorian calendar.
- Date
Time - A representation of a civil datetime in the Gregorian calendar.
- Time
- A representation of civil “wall clock” time.
- Year
Month - Year + month pair, with no day component. Used by
Calendarto track the visible month independently of the current selection.
Enums§
- Weekday
- A representation for the day of the week.
Functions§
- today_
local - Today’s date in the system’s local time zone.
- weekday_
from_ monday_ zero Weekday::from_monday_zero_offsetclamped to0..=6and infallible — the rest of the date code only ever traffics in valid offsets, and a panic here would point at a bug, not a user error.