Most visited

Recently visited

Added in API level 24

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

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

CASH

Added in API level 24
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
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
Currency.CurrencyUsage valueOf (String name)

Parameters
name String
Returns
Currency.CurrencyUsage

values

Added in API level 24
CurrencyUsage[] values ()

Returns
CurrencyUsage[]

Hooray!