Function polars::export::arrow::temporal_conversions::parse_offset
source · [−]pub fn parse_offset(offset: &str) -> Result<FixedOffset, ArrowError>
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.