7 releases

0.3.0 Nov 23, 2024
0.2.3 May 28, 2024
0.2.2 Sep 24, 2023
0.2.1 Jan 26, 2023
0.1.0 Jun 8, 2022

#170 in Date and time

Download history 7/week @ 2024-09-20 3/week @ 2024-09-27 1/week @ 2024-10-04 10/week @ 2024-11-15 262/week @ 2024-11-22 14/week @ 2024-11-29

286 downloads per month
Used in temporal_rs

Unicode-3.0

110KB
2K SLoC

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.

Dependencies

~740KB
~15K SLoC