Class ZoneOffset
java.lang.Object
java.time.ZoneId
java.time.ZoneOffset
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintstatic ZoneOffsetstatic ZoneOffsetofHours(int hours) static ZoneOffsetofHoursMinutes(int hours, int minutes) static ZoneOffsetofTotalSeconds(int totalSeconds) Methods inherited from class Object
clone, getClass, notify, notifyAll, wait, wait, waitModifier and TypeMethodDescriptionprotected Objectclone()final ClassgetClass()Returns the runtime class of an object.final voidnotify()Wakes up a single thread that is waiting on this object's monitor.final voidWakes up all threads that are waiting on this object's monitor.final voidwait()Causes current thread to wait until another thread invokes the method or the method for this object.final voidwait(long timeout) Causes current thread to wait until either another thread invokes the method or the method for this object, or a specified amount of time has elapsed.final voidwait(long timeout, int nanos) Causes current thread to wait until another thread invokes the method or the method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
-
Field Details
-
UTC
-
-
Method Details
-
of
-
ofHours
-
ofHoursMinutes
-
ofTotalSeconds
-
getTotalSeconds
public int getTotalSeconds()
-