| Enum Constant and Description |
|---|
Australia |
Canada |
France |
Ireland |
NewZealand |
UnitedKingdom |
USEastCoast |
USWestCoast |
| Modifier and Type | Method and Description |
|---|---|
static Location |
codeOf(java.lang.String code) |
java.lang.String |
getCode() |
Country |
getCountry() |
Currency |
getCurrency() |
TaxCode |
getGoodsAndServicesTaxCode() |
Language |
getLanguage() |
Region |
getRegion() |
java.util.TimeZone |
getTimeZone() |
java.lang.String |
toString() |
static Location |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Location Australia
public static final Location Canada
public static final Location France
public static final Location Ireland
public static final Location NewZealand
public static final Location UnitedKingdom
public static final Location USEastCoast
public static final Location USWestCoast
public static Location[] values()
for (Location c : Location.values()) System.out.println(c);
public static Location 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 getCode()
public Country getCountry()
public Currency getCurrency()
public Region getRegion()
public TaxCode getGoodsAndServicesTaxCode()
public Language getLanguage()
public java.util.TimeZone getTimeZone()
public java.lang.String toString()
toString in class java.lang.Enum<Location>public static Location codeOf(java.lang.String code)