4 releases

0.2.2 Sep 24, 2023
0.2.1 Jan 26, 2023
0.2.0 Jun 9, 2022
0.1.0 Jun 8, 2022

#147 in Date and time

Download history 2/week @ 2024-02-24 15/week @ 2024-03-30 1/week @ 2024-04-06 83/week @ 2024-04-13

99 downloads per month

Custom license

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_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

~1MB
~16K SLoC