pub fn raw_tz_by_name<S: AsRef<[u8]>>(s: S) -> Option<&'static [u8]>
Expand description
Find the raw, unparsed time zone data by name, e.g. "Europe/Berlin"
(case-insensitive)
ยงExample
assert_eq!(
tzdb::time_zone::europe::RAW_BERLIN,
tzdb::raw_tz_by_name("Europe/Berlin").unwrap(),
);