public static final class CurrencyMetaInfo.CurrencyInfo extends Object
CurrencyMetaInfo.currencyInfo(CurrencyFilter)
for a list of info objects matching the filter.Modifier and Type | Field | Description |
---|---|---|
String |
code |
The three-letter ISO currency code.
|
long |
from |
Date on which the currency was first officially used in the region.
|
int |
priority |
Preference order of currencies being used at the same time in the region.
|
String |
region |
Region code where currency is used.
|
long |
to |
Date at which the currency stopped being officially used in the region.
|
Constructor | Description |
---|---|
CurrencyInfo(String region,
String code,
long from,
long to,
int priority) |
Deprecated.
ICU 51 Use
CurrencyMetaInfo.currencyInfo(CurrencyFilter) instead. |
CurrencyInfo(String region,
String code,
long from,
long to,
int priority,
boolean tender) |
Deprecated.
This API is ICU internal only.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
isTender() |
Determine whether or not this currency was once used, is used,
or will be used as tender in this region.
|
String |
toString() |
Returns a string representation of this object, useful for debugging.
|
public final String region
public final String code
public final long from
public final long to
public final int priority
@Deprecated public CurrencyInfo(String region, String code, long from, long to, int priority)
CurrencyMetaInfo.currencyInfo(CurrencyFilter)
instead.@Deprecated public CurrencyInfo(String region, String code, long from, long to, int priority, boolean tender)
public String toString()
public boolean isTender()
Copyright ? 2016 Unicode, Inc. and others.