return to top
source
Represents a timezone offset with an hour and second component.
The same timezone offset in seconds.
Converts an Offset to a string in ISO 8601 format. The colon parameter determines if the hour and minute components are separated by a colon (e.g., "+01:00" or "+0100").
Offset
colon
A zero Offset representing UTC (no offset).
Creates an Offset from a given number of hour.
Creates an Offset from a given number of hours and minutes.