Static
MAXConstant for the maximum supported offset.
Static
MINConstant for the minimum supported offset.
Static
UTCThe time-zone offset for UTC, with an ID of 'Z'.
Compares this offset to another offset in descending order.
Gets the value of the specified field from this offset as an int.
Gets the set of available zone IDs.
Gets the normalized zone offset ID.
Gets the value of the specified field from this offset as a long.
Gets the total zone offset in seconds.
Normalizes the time-zone ID, returning a ZoneOffset where possible.
Queries this offset using the specified query.
Gets the range of valid values for the specified field.
Static
fromObtains an instance of ZoneOffset from a temporal object.
Static
ofStatic
ofObtains an instance of ZoneOffset using an offset in hours.
Static
ofObtains an instance of ZoneOffset using an offset in hours and minutes.
Static
ofObtains an instance of ZoneOffset using an offset in hours, minutes and seconds.
Static
ofObtains an instance of ZoneId wrapping an offset.
Static
ofObtains an instance of ZoneOffset specifying the total offset in seconds
Static
systemGets the system default time-zone.
A time-zone offset from Greenwich/UTC, such as +02:00.
See java.time.ZoneOffset for full documentation