Skip to main content

Module datetime

Module datetime 

Source
Expand description

Date and time utilities.

Structs§

DateTimeFieldIterator
An iterator over DateTimeFields
DateTimeFieldValue
Tracks a unit and a fraction from a parsed time-like string, e.g. INTERVAL ‘1.2’ DAYS.
PackedNaiveTime
An encoded packed variant of NaiveTime.
ParsedDateTime
All of the fields that can appear in a literal DATE, TIME, TIMESTAMP or INTERVAL string.

Enums§

CalendarEra
DateTimeField
DateTimePart
Order of definition is important for PartialOrd and Ord to be derived correctly
DateTimeUnits
Units of measurements associated with dates and times.