Example usage for Java java.time ZoneId fields, constructors, methods, implement or subclass
The text is from its open source code.
Map | SHORT_IDS A map of zone overrides to enable the short time-zone names to be used. |
boolean | equals(Object obj) Checks if this time-zone ID is equal to another time-zone ID. |
ZoneId | from(TemporalAccessor temporal) Obtains an instance of ZoneId from a temporal object. |
Set | getAvailableZoneIds() Gets the set of available zone IDs. |
String | getDisplayName(TextStyle style, Locale locale) Gets the textual representation of the zone, such as 'British Time' or '+02:00'. |
String | getId() Gets the unique time-zone ID. |
ZoneRules | getRules() Gets the time-zone rules for this ID allowing calculations to be performed. |
int | hashCode() A hash code for this time-zone ID. |
ZoneId | normalized() Normalizes the time-zone ID, returning a ZoneOffset where possible. |
ZoneId | of(String zoneId) Obtains an instance of ZoneId from an ID ensuring that the ID is valid and available for use. |
ZoneId | of(String zoneId, Map Obtains an instance of ZoneId using its ID using a map of aliases to supplement the standard zone IDs. |
ZoneId | of(String zoneId, boolean checkAvailable) Parses the ID, taking a flag to indicate whether ZoneRulesException should be thrown or not, used in deserialization. |
ZoneId | ofOffset(String prefix, ZoneOffset offset) Obtains an instance of ZoneId wrapping an offset. |
ZoneId | systemDefault() Gets the system default time-zone. |
String | toString() Outputs this zone as a String , using the ID. |