Skip to main content

Module datetime

Module datetime 

Source

Structs§

DateProps
Full props (realize) for the date picker. style/min/max are set once at build; only the value patches.
DayDate
A civil (zoneless) calendar date, proleptic Gregorian. Ordered chronologically; Display and DayDate::parse_iso speak ISO-8601 (YYYY-MM-DD).
DayTime
A civil (zoneless) wall-clock time. Display and DayTime::parse_iso speak ISO-8601 (HH:MM, or HH:MM:SS when seconds are nonzero).
TimeProps
Full props (realize) for the time picker. style/seconds are set once at build; only the value patches.

Enums§

DatePatch
Style
How the picker presents (docs/datepicker.md has the per-toolkit table). Like PickerStyle, each intent maps to the platform’s closest idiomatic control, so chrome differs per platform.
TimePatch

Constants§

DATE_KIND
TIME_KIND

Functions§

days_in_month
is_leap