ZoneRules (Java SE 26 & JDK 26)
- All Implemented Interfaces:
Serializable
-
Method Summary
booleanChecks if this set of rules equals another.
Gets the amount of daylight savings in use for the specified instant in this zone.
Gets the offset applicable at the specified instant in these rules.
Gets a suitable offset for the specified local date-time in these rules.
Gets the standard offset for the specified instant in this zone.
Gets the offset transition applicable at the specified local date-time in these rules.
Gets the list of transition rules for years beyond those defined in the transition list.
Gets the complete list of fully defined transitions.
Gets the offset applicable at the specified local date-time in these rules.
inthashCode()Returns a suitable hash code given the definition of
#equals.booleanChecks if the specified instant is in daylight savings.
booleanChecks of the zone rules are fixed, such that the offset never varies.
booleanChecks if the offset date-time is valid for these rules.
Gets the next transition after the specified instant.
Obtains an instance of ZoneRules that has fixed zone rules.
Obtains an instance of a ZoneRules.
Gets the previous transition before the specified instant.
toString()Returns a string describing this object.
Methods declared in class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitCreates and returns a copy of this object.
protected voidDeprecated, for removal: This API element is subject to removal in a future version.
Returns the runtime class of this
Object.final voidWakes 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 voidCauses the current thread to wait until it is awakened, typically by being notified or interrupted.
final voidwait(long timeoutMillis) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
final voidwait(long timeoutMillis, int nanos) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
-
Method Details
-
of
-
of
-
isFixedOffset
-
getOffset
-
getOffset
-
getValidOffsets
-
getTransition
-
getStandardOffset
-
getDaylightSavings
-
isDaylightSavings
-
isValidOffset
-
nextTransition
-
previousTransition
-
getTransitions
-
getTransitionRules
-
equals
-
hashCode
-
toString
-