adjustInto(Temporal temporal) | This method is used to adjusts the specified temporal object to have the same offset as this object. |
compareTo(ZoneOffset other) | This method compares this offset to another offset in descending order. |
equals(Object obj) | This method checks if this offset is equal to another offset. |
from(TemporalAccessor temporal) | This method obtains an instance of ZoneOffset from a temporal object. |
get(TemporalField field) | This method is Used to get the value of the specified field from this offset as an int |
getId() | This method gets the normalized zone offset ID. |
getLong(TemporalField field) | This method gets the value of the specified field from this offset as a long. |
getRules() | This method gets the associated time-zone rules. |
getTotalSeconds() | This method gets the total zone offset in seconds. |
hashCode() | A hash code for this offset. |
isSupported(TemporalField field) | This method checks if the specified field is supported. |
of(String offsetId) | This method is Used to obtain an instance of ZoneOffset using the ID. |
ofHours(int hours) | This method is Used to obtain an instance of ZoneOffset using an offset in hours |
ofHoursMinutes(int hours, int minutes) | This method is Used to obtain an instance of ZoneOffset using an offset in hours and minute |
ofHoursMinutesSeconds(int hours, int minutes, int seconds) | This method obtains an instance of ZoneOffset using an offset in hours, minutes and seconds. |
ofTotalSeconds(int totalSeconds) | This method obtains an instance of ZoneOffset specifying the total offset in seconds |
query(TemporalQuery<R> query) | This method queries this offset using the specified query. |
range(TemporalField field) | This method gets the range of valid values for the specified field. |
toString() | This method outputs this offset as a String, using the normalized ID. |