Expand description
A collection of parsed date and time items. They can be constructed incrementally while being checked for consistency.
Structs§
- Parsed
- A type to hold parsed fields of date and time that can check all fields are consistent.
Functions§
- resolve_
week_ 🔒date - Create a
NaiveDatewhen given a year, week, weekday, and the definition at which day of the week a week starts. - set_
if_ 🔒consistent - Checks if
oldis either empty or has the same value asnew(i.e. “consistent”), and if it is empty, setoldtonewas well.