public static enum Currency.CurrencyUsage extends Enum<Currency.CurrencyUsage>
Enum Constant and Description |
---|
CASH
a setting to specify currency usage which determines currency digit and rounding
for cash usage, for example: "50 NT$"
|
STANDARD
a setting to specify currency usage which determines currency digit and rounding
for standard usage, for example: "50.00 NT$"
|
Modifier and Type | Method and Description |
---|---|
static Currency.CurrencyUsage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Currency.CurrencyUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Currency.CurrencyUsage STANDARD
public static final Currency.CurrencyUsage CASH
public static Currency.CurrencyUsage[] values()
for (Currency.CurrencyUsage c : Currency.CurrencyUsage.values()) System.out.println(c);
public static Currency.CurrencyUsage 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 nullCopyright © 2016 Unicode, Inc. and others.