chrono_tz

Static TZ_VARIANTS

Source
pub static TZ_VARIANTS: [Tz; 596]
Expand description

An array of every known variant

Useful for iterating over known timezones:

use chrono_tz::{TZ_VARIANTS, Tz};
assert!(TZ_VARIANTS.iter().any(|v| *v == Tz::UTC));