Module chrono::format::parsed

source ·
Expand description

A collection of parsed date and time items. They can be constructed incrementally while being checked for consistency.

Structs§

  • A type to hold parsed fields of date and time that can check all fields are consistent.

Functions§

  • Create a NaiveDate when given a year, week, weekday, and the definition at which day of the week a week starts.
  • Checks if old is either empty or has the same value as new (i.e. “consistent”), and if it is empty, set old to new as well.