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

added in API level 24
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

added in API level 24
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

added in API level 24
public static Currency.CurrencyUsage valueOf (String name)

Parameters
name String

Returns
Currency.CurrencyUsage

values

added in API level 24
public static final CurrencyUsage[] values ()

Returns
CurrencyUsage[]