public static enum AMERICA.NORTH_DAKOTA extends Enum<AMERICA.NORTH_DAKOTA> implements StdZoneIdentifier
Contains all standard timezone IDs in USA/North-Dakota.
| Modifier and Type | Method and Description |
|---|---|
String |
canonical()
Represents the full canonical name of a timezone (for
example "Europe/Paris" or "UTC+01:00").
|
String |
getCity()
Yields the exemplar city.
|
String |
getCountry()
Yields the belonging country in ISO-3166-format - related to the exemplar city.
|
String |
getRegion()
Yields the timezone region - in most cases a continent.
|
static AMERICA.NORTH_DAKOTA |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AMERICA.NORTH_DAKOTA[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AMERICA.NORTH_DAKOTA BEULAH
public static final AMERICA.NORTH_DAKOTA CENTER
public static final AMERICA.NORTH_DAKOTA NEW_SALEM
public static AMERICA.NORTH_DAKOTA[] values()
for (AMERICA.NORTH_DAKOTA c : AMERICA.NORTH_DAKOTA.values()) System.out.println(c);
public static AMERICA.NORTH_DAKOTA valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String canonical()
TZIDRepresents the full canonical name of a timezone (for example "Europe/Paris" or "UTC+01:00").
public String getRegion()
StdZoneIdentifierYields the timezone region - in most cases a continent.
getRegion in interface StdZoneIdentifierpublic String getCity()
StdZoneIdentifierYields the exemplar city.
getCity in interface StdZoneIdentifierpublic String getCountry()
StdZoneIdentifierYields the belonging country in ISO-3166-format - related to the exemplar city.
getCountry in interface StdZoneIdentifierCopyright © 2014–2021. All rights reserved.