public enum AUSTRALIA extends java.lang.Enum<AUSTRALIA> implements StdZoneIdentifier
Contains all standard timezone IDs in Australia.
| Enum Constant and Description |
|---|
ADELAIDE |
BRISBANE |
BROKEN_HILL |
CURRIE |
DARWIN |
EUCLA |
HOBART |
LINDEMAN |
LORD_HOWE |
MELBOURNE |
PERTH |
SYDNEY |
| 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 AUSTRALIA |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AUSTRALIA[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AUSTRALIA ADELAIDE
public static final AUSTRALIA BRISBANE
public static final AUSTRALIA BROKEN_HILL
public static final AUSTRALIA CURRIE
public static final AUSTRALIA DARWIN
public static final AUSTRALIA EUCLA
public static final AUSTRALIA HOBART
public static final AUSTRALIA LINDEMAN
public static final AUSTRALIA LORD_HOWE
public static final AUSTRALIA MELBOURNE
public static final AUSTRALIA PERTH
public static final AUSTRALIA SYDNEY
public static AUSTRALIA[] values()
for (AUSTRALIA c : AUSTRALIA.values()) System.out.println(c);
public static AUSTRALIA 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