Module chrono::naive

source ·
Expand description

Date and time types unconcerned with timezones.

They are primarily building blocks for other types (e.g. TimeZone), but can be also used for the simpler date and time handling.


  • Serialization/Deserialization of naive types in alternate formats


  • ISO 8601 week.
  • ISO 8601 calendar date without timezone. Allows for every proleptic Gregorian date from Jan 1, 262145 BCE to Dec 31, 262143 CE. Also supports the conversion from ISO 8601 ordinal and week date.
  • ISO 8601 combined date and time without timezone.
  • ISO 8601 time without timezone. Allows for the nanosecond precision and optional leap second representation.


  • The maximum possible NaiveDate (December 31, 262143 CE).
  • The maximum possible NaiveDateTime.
  • The minimum possible NaiveDate (January 1, 262145 BCE).
  • The minimum possible NaiveDateTime.