Expand description
Utilities to work with dates, timestamps and datetimes.
It’s a re-export of the [email protected]
crate.
Modules§
- Conversion between units of time.
- Various error types returned by methods in the time crate.
- Extension traits.
- Description of how types should be formatted and parsed.
- Formatting for various types.
- Macros to construct statically known values.
- Differential formats for serde.
- Utility functions, including updating time zone information.
Structs§
- Date in the proleptic Gregorian calendar.
- A span of time with nanosecond precision.
- A
PrimitiveDateTime
with aUtcOffset
. - Combined date and time.
- The clock time within a given date. Nanosecond precision.
- An offset from UTC.
Enums§
- A unified error type for anything returned by a method in the time crate.
- Months of the year.
- Days of the week.
Type Aliases§
- An alias for
std::result::Result
with a generic error from the time crate.