pub fn parse_offset(offset: &str) -> Result<FixedOffset>
Expand description

Parses an offset of the form "+WX:YZ" or "UTC" into FixedOffset.

Errors

If the offset is not in any of the allowed forms.