Crates.io | tzif |
lib.rs | tzif |
version | 0.2.3 |
source | src |
created_at | 2022-06-08 18:18:43.228368 |
updated_at | 2024-05-28 20:25:10.843256 |
description | A parser for TZif files |
homepage | |
repository | https://github.com/unicode-org/icu4x |
max_upload_size | |
id | 602201 |
size | 119,206 |
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.
let data = tzif::parse_tzif_file("path_to_file").unwrap();
let data =
tzif::parse_posix_tz_string(b"WGT3WGST,M3.5.0/-2,M10.5.0/-1").unwrap();
For more information on development, authorship, contributing etc. please visit ICU4X home page
.