Module offset

Source
Expand description

This module provides facilities for parsing time zone offsets.

The parsing here follows primarily from RFC 3339 and ISO 8601, but also from Temporal’s hybrid grammar.

StructsΒ§

Numeric πŸ”’
A numeric representation of a UTC offset.
ParsedOffset πŸ”’
An offset that has been parsed from a datetime string.
Parser πŸ”’
A parser for UTC offsets.

EnumsΒ§

Colon πŸ”’
How to handle parsing of colons in a time zone offset.
ParsedOffsetKind πŸ”’
The kind of a parsed offset.

Type AliasesΒ§

ParsedOffsetHours πŸ”’
ParsedOffsetMinutes πŸ”’
ParsedOffsetSeconds πŸ”’