polars_arrow::temporal_conversions

Function parse_offset

Source
pub fn parse_offset(offset: &str) -> PolarsResult<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.