Currency.CurrencyUsage
public
static
final
enum
Currency.CurrencyUsage
extends Enum<Currency.CurrencyUsage>
java.lang.Object | ||
↳ | java.lang.Enum<android.icu.util.Currency.CurrencyUsage> | |
↳ | android.icu.util.Currency.CurrencyUsage |
Currency Usage used for Decimal Format
Summary
Enum values | |
---|---|
Currency.CurrencyUsage |
CASH
a setting to specify currency usage which determines currency digit and rounding for cash usage, for example: "50 NT$" |
Currency.CurrencyUsage |
STANDARD
a setting to specify currency usage which determines currency digit and rounding for standard usage, for example: "50.00 NT$" |
Public methods | |
---|---|
static
Currency.CurrencyUsage
|
valueOf(String name)
|
static
final
CurrencyUsage[]
|
values()
|
Inherited methods | |
---|---|
Enum values
CASH
public static final Currency.CurrencyUsage CASH
a setting to specify currency usage which determines currency digit and rounding for cash usage, for example: "50 NT$"
STANDARD
public static final Currency.CurrencyUsage STANDARD
a setting to specify currency usage which determines currency digit and rounding for standard usage, for example: "50.00 NT$"
Public methods
valueOf
public static Currency.CurrencyUsage valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
Currency.CurrencyUsage |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.