Expand description
The seam between the date components and whoever owns the calendar.
This crate has no calendar system, no time zone, no locale, and no notion
of what day it is. Every one of those facts arrives through
DateAdapter, which the host implements over whatever date library it
already depends on. A Day is an opaque token: the components carry it,
compare it, and hand it back, and only the adapter that produced it knows
what it means.
Structs§
- Clock
- The clock the host keeps: how far its hours run, and what it calls the two halves of a twelve-hour day.
- Day
- One day, meaningful only to the adapter that produced it.
- Month
Grid - A month laid out in weeks.
- Month
Key - One month, meaningful only to the adapter that produced it.
- Time
OfDay - A time of day, in the host’s own clock.
Enums§
- Month
Cell - One slot in a month grid.
- Selectability
- Whether a day may be picked, and if not, why not.
Traits§
- Date
Adapter - Everything the date components are not allowed to know.
Type Aliases§
- Shared
Date Adapter - The adapter as the components hold it.