Java java.time ZoneId fields, constructors, methods, implement or subclass

Example usage for Java java.time ZoneId fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.time ZoneId.

The text is from its open source code.

Field

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

Method

booleanequals(Object obj)
Checks if this time-zone ID is equal to another time-zone ID.
ZoneIdfrom(TemporalAccessor temporal)
Obtains an instance of ZoneId from a temporal object.
SetgetAvailableZoneIds()
Gets the set of available zone IDs.
StringgetDisplayName(TextStyle style, Locale locale)
Gets the textual representation of the zone, such as 'British Time' or '+02:00'.
StringgetId()
Gets the unique time-zone ID.
ZoneRulesgetRules()
Gets the time-zone rules for this ID allowing calculations to be performed.
inthashCode()
A hash code for this time-zone ID.
ZoneIdnormalized()
Normalizes the time-zone ID, returning a ZoneOffset where possible.
ZoneIdof(String zoneId)
Obtains an instance of ZoneId from an ID ensuring that the ID is valid and available for use.
ZoneIdof(String zoneId, Map aliasMap)
Obtains an instance of ZoneId using its ID using a map of aliases to supplement the standard zone IDs.
ZoneIdof(String zoneId, boolean checkAvailable)
Parses the ID, taking a flag to indicate whether ZoneRulesException should be thrown or not, used in deserialization.
ZoneIdofOffset(String prefix, ZoneOffset offset)
Obtains an instance of ZoneId wrapping an offset.
ZoneIdsystemDefault()
Gets the system default time-zone.
StringtoString()
Outputs this zone as a String , using the ID.