Skip to main content

decode_numeric_timezone

Function decode_numeric_timezone 

Source
pub fn decode_numeric_timezone(name: &str) -> Result<Option<i32>, TypeError>
Expand description

DecodeTimezone as parse_sane_timezone uses it: the offset in seconds west of UTC of a numeric zone, or None for a name that is not a numeric zone.

ยงErrors

22023 when the hours, the minutes or the seconds of a numeric zone are out of range.