tzif

Crates.iotzif
lib.rstzif
version0.3.0
sourcesrc
created_at2022-06-08 18:18:43.228368
updated_at2024-11-23 02:01:04.646118
descriptionA parser for TZif files
homepage
repositoryhttps://github.com/unicode-org/icu4x
max_upload_size
id602201
size119,420
icu4x-release (github:unicode-org:icu4x-release)

documentation

README

tzif crates.io

A parser for Time Zone Information Format (TZif) files.

Also includes a parser for POSIX time-zone strings, which is used by the TZif parser, but also available separately.

Resources to generate TZif files are provided by the IANA database. TZif files are also included in some operating systems.

Examples

Parse TZif Files

let data = tzif::parse_tzif_file(Path::new("path_to_file")).unwrap();

Parse POSIX time-zone strings

let data =
    tzif::parse_posix_tz_string(b"WGT3WGST,M3.5.0/-2,M10.5.0/-1").unwrap();

More Information

For more information on development, authorship, contributing etc. please visit ICU4X home page.

Commit count: 3709

cargo fmt