Expand description
Implements TZif time zone parsing and transition handling.
The TZif format is used by the Time Zone Database.
The parser in this module is designed to handle untrusted input. That is, there is no input that should cause it to panic or allocate memory in a way that is not proportional to the size of the TZif data.
These binary files are the ones commonly found in Unix distributions in the
/usr/share/zoneinfo directory.
Structs§
- Date
Time - The representation for a civil datetime used by the TZif implementation.
- Local
Time Type - A “local time type” from TZif data.
- Maybe
Named Time Zone - A representation of a possibly named time zone backed by TZif data.
- Parse
Error - An error that can occur when parsing TZif data.
- Time
Zone - A representation of an unnamed time zone backed by TZif data.
- Timestamp
- The representation for a timestamp used by the TZif implementation.
- Transition
Info - TZif transition info beyond the timestamp and civil datetime.
- Transitions
- The set of transitions in TZif data, laid out in column orientation.
Enums§
- Indicator
- The possible indicator values for standard/wall and UT/local.
- Transition
Kind - The kind of a transition.
Functions§
- is_
possibly_ tzif - Returns true if the data might be in TZif format.