- getTotalSeconds
Gets the total zone offset in seconds. This is the primary way to access the
offset amount. It retur
- of
- ofTotalSeconds
Obtains an instance of ZoneOffset specifying the total offset in seconds The
offset must be in the r
- ofHours
Obtains an instance of ZoneOffset using an offset in hours.
- systemDefault
- getId
Gets the normalized zone offset ID. The ID is minor variation to the standard
ISO-8601 formatted str
- toString
Outputs this offset as a String, using the normalized ID.
- equals
Checks if this offset is equal to another offset. The comparison is based on the
amount of the offse
- ofHoursMinutes
Obtains an instance of ZoneOffset using an offset in hours and minutes. The sign
of the hours and mi
- from
Obtains an instance of ZoneOffset from a temporal object. A TemporalAccessor
represents some form of
- compareTo
Compares this offset to another offset in descending order. The offsets are
compared in the order th
- hashCode
A hash code for this offset.