Crate zoneinfo_rs

Crate zoneinfo_rs 

Source
Expand description

A library for parsing and compiling zoneinfo files into time zone transition data that can be used to build TZif files or any other desired time zone format.

zoneinfo_rs offers default parsing and compiling of zoneinfo files into time zone transition data.

Why zoneinfo_rs?

In general, this library seeks to maximally expose as much data from the zoneinfo files as possible while also supporting extra time zone database features like the zone.tab, PACKRATLIST, and POSIX time zone strings.

Modules§

compiler
Zone info compiler functionality
parser
Zone info parsing implementation
posix
rule
Zone info Rule functionality
types
Zoneinfo types
tzif
Implementation of the tzif data struct
zone
Implementation of zone info’s ZoneRecord

Structs§

ZoneInfoCompiler
The compiler for turning ZoneInfoData into CompiledTransitionsData
ZoneInfoData
ZoneInfoData represents raw unprocessed zone info data as parsed from a zone info file.
ZoneInfoParser
The primary parser for zoneinfo code points.

Enums§

ZoneInfoError
The general error type for ZoneInfo operations

Constants§

ZONEINFO_FILES
Well-known zone info file