java.io.Serializable
, java.lang.Comparable<TimeZoneCity.Continent>
public static enum TimeZoneCity.Continent extends java.lang.Enum<TimeZoneCity.Continent>
Modifier and Type | Method | Description |
---|---|---|
static TimeZoneCity.Continent |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TimeZoneCity.Continent[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeZoneCity.Continent AFRICA
public static final TimeZoneCity.Continent AMERICA
public static final TimeZoneCity.Continent ASIA
public static final TimeZoneCity.Continent EUROPE
public static final TimeZoneCity.Continent AUSTRALIA
public static TimeZoneCity.Continent[] values()
for (TimeZoneCity.Continent c : TimeZoneCity.Continent.values()) System.out.println(c);
public static TimeZoneCity.Continent 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 null