public enum PACIFIC extends java.lang.Enum<PACIFIC> implements StdZoneIdentifier
Contains all standard timezone IDs in Pacific Ocean.
| Enum Constant and Description |
|---|
APIA |
AUCKLAND |
CHATHAM |
CHUUK |
EASTER |
EFATE |
ENDERBURY |
FAKAOFO |
FIJI |
FUNAFUTI |
GALAPAGOS |
GAMBIER |
GUADALCANAL |
GUAM |
HONOLULU |
JOHNSTON |
KIRITIMATI |
KOSRAE |
KWAJALEIN |
MAJURO |
MARQUESAS |
MIDWAY |
NAURU |
NIUE |
NORFOLK |
NOUMEA |
PAGO_PAGO |
PALAU |
PITCAIRN |
POHNPEI |
PORT_MORESBY |
RAROTONGA |
SAIPAN |
TAHITI |
TARAWA |
TONGATAPU |
WAKE |
WALLIS |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
canonical()
Represents the full canonical name of a timezone (for
example "Europe/Paris" or "UTC+01:00").
|
java.lang.String |
getCity()
Yields the exemplar city.
|
java.lang.String |
getCountry()
Yields the belonging country in ISO-3166-format - related to the exemplar city.
|
java.lang.String |
getRegion()
Yields the timezone region - in most cases a continent.
|
static PACIFIC |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PACIFIC[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PACIFIC APIA
public static final PACIFIC AUCKLAND
public static final PACIFIC CHATHAM
public static final PACIFIC CHUUK
public static final PACIFIC EASTER
public static final PACIFIC EFATE
public static final PACIFIC ENDERBURY
public static final PACIFIC FAKAOFO
public static final PACIFIC FIJI
public static final PACIFIC FUNAFUTI
public static final PACIFIC GALAPAGOS
public static final PACIFIC GAMBIER
public static final PACIFIC GUADALCANAL
public static final PACIFIC GUAM
public static final PACIFIC HONOLULU
public static final PACIFIC JOHNSTON
public static final PACIFIC KIRITIMATI
public static final PACIFIC KOSRAE
public static final PACIFIC KWAJALEIN
public static final PACIFIC MAJURO
public static final PACIFIC MARQUESAS
public static final PACIFIC MIDWAY
public static final PACIFIC NAURU
public static final PACIFIC NIUE
public static final PACIFIC NORFOLK
public static final PACIFIC NOUMEA
public static final PACIFIC PAGO_PAGO
public static final PACIFIC PALAU
public static final PACIFIC PITCAIRN
public static final PACIFIC POHNPEI
public static final PACIFIC PORT_MORESBY
public static final PACIFIC RAROTONGA
public static final PACIFIC SAIPAN
public static final PACIFIC TAHITI
public static final PACIFIC TARAWA
public static final PACIFIC TONGATAPU
public static final PACIFIC WAKE
public static final PACIFIC WALLIS
public static PACIFIC[] values()
for (PACIFIC c : PACIFIC.values()) System.out.println(c);
public static PACIFIC valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String canonical()
TZIDRepresents the full canonical name of a timezone (for example "Europe/Paris" or "UTC+01:00").
public java.lang.String getRegion()
StdZoneIdentifierYields the timezone region - in most cases a continent.
getRegion in interface StdZoneIdentifierpublic java.lang.String getCity()
StdZoneIdentifierYields the exemplar city.
getCity in interface StdZoneIdentifierpublic java.lang.String getCountry()
StdZoneIdentifierYields the belonging country in ISO-3166-format - related to the exemplar city.
getCountry in interface StdZoneIdentifier