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.
Modules§
- serde
serde
- Serialization/Deserialization of
NaiveDateTime
in alternate formats
Structs§
- Days
- A duration in calendar days.
- IsoWeek
- ISO 8601 week.
- Naive
Date - 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.
- Naive
Date Days Iterator - Iterator over
NaiveDate
with a step size of one day. - Naive
Date Time - ISO 8601 combined date and time without timezone.
- Naive
Date Weeks Iterator - Iterator over
NaiveDate
with a step size of one week. - Naive
Time - ISO 8601 time without timezone. Allows for the nanosecond precision and optional leap second representation.
- Naive
Week - A week represented by a
NaiveDate
and aWeekday
which is the first day of the week.
Constants§
- MAX_
DATE Deprecated - The maximum possible
NaiveDate
(December 31, 262143 CE). - MAX_
DATETIME Deprecated - The maximum possible
NaiveDateTime
. - MIN_
DATE Deprecated - The minimum possible
NaiveDate
(January 1, 262145 BCE). - MIN_
DATETIME Deprecated - The minimum possible
NaiveDateTime
.