All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ZoneOffset

  • Field Summary

    Fields

    A map of zone overrides to enable the short time-zone names to be used.

  • Method Summary

    boolean

    Checks if this time-zone ID is equal to another time-zone ID.

    Obtains an instance of ZoneId from a temporal object.

    Gets the set of available zone IDs.

    Gets the textual representation of the zone, such as 'British Time' or '+02:00'.

    getId()

    Gets the unique time-zone ID.

    getRules()

    Gets the time-zone rules for this ID allowing calculations to be performed.

    int

    hashCode()

    A hash code for this time-zone ID.

    Normalizes the time-zone ID, returning a ZoneOffset where possible.

    Obtains an instance of ZoneId from an ID ensuring that the ID is valid and available for use.

    Obtains an instance of ZoneId using its ID using a map of aliases to supplement the standard zone IDs.

    Obtains an instance of ZoneId wrapping an offset.

    Gets the system default time-zone.

    toString()

    Outputs this zone as a String, using the ID.

    Methods declared in class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Creates and returns a copy of this object.

    protected void

    Deprecated, for removal: This API element is subject to removal in a future version.

    Returns the runtime class of this Object.

    final void

    Wakes up a single thread that is waiting on this object's monitor.

    final void

    Wakes up all threads that are waiting on this object's monitor.

    final void

    Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

    final void

    wait(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 void

    wait(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.

  • Field Details

    • SHORT_IDS

  • Method Details

    • systemDefault

    • getAvailableZoneIds

    • of

    • of

    • ofOffset

    • from

    • getId

    • getDisplayName

    • getRules

    • normalized

    • equals

    • hashCode

    • toString