9 releases
| 0.4.1 | Oct 28, 2025 |
|---|---|
| 0.4.0 | Feb 26, 2025 |
| 0.3.0 | Nov 23, 2024 |
| 0.2.3 | May 28, 2024 |
| 0.1.0 | Jun 8, 2022 |
#24 in Date and time
23,241 downloads per month
Used in 35 crates
(2 directly)
110KB
2K
SLoC
tzif 
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
~715KB
~15K SLoC