Module tzif

Source
Available on crate feature tzif only.
Expand description

A simple TZIF reader module used to get UTC to local offset.

See RFC

Structs§

Block
Combined header and data block.
Data
A data block.
Header
TZIF header.
LeapSecondRecord
A series of eight- or twelve-octet records specifying the corrections that need to be applied to UTC in order to determine TAI.
LocalTimeTypeRecord
A series of six-octet records specifying a local time type. The number of records is specified by the “typecnt” field in the header. Each record has the following format (the lengths of multi-octet fields are shown in parentheses).
TZIF
Simplified TZIF decoded structure.

Enums§

Error
Possible errors when parsing TZIF.