public static final class CurrencyMetaInfo.CurrencyInfo
extends java.lang.Object
CurrencyMetaInfo.currencyInfo(CurrencyFilter)
for a list of info objects matching the filter.Modifier and Type | Field | Description |
---|---|---|
java.lang.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.
|
java.lang.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(java.lang.String region,
java.lang.String code,
long from,
long to,
int priority) |
Deprecated.
ICU 51 Use
CurrencyMetaInfo.currencyInfo(CurrencyFilter) instead. |
CurrencyInfo(java.lang.String region,
java.lang.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.
|
java.lang.String |
toString() |
Returns a string representation of this object, useful for debugging.
|
public final java.lang.String region
public final java.lang.String code
public final long from
public final long to
public final int priority
@Deprecated public CurrencyInfo(java.lang.String region, java.lang.String code, long from, long to, int priority)
CurrencyMetaInfo.currencyInfo(CurrencyFilter)
instead.@Deprecated public CurrencyInfo(java.lang.String region, java.lang.String code, long from, long to, int priority, boolean tender)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isTender()
Copyright ? 2016 Unicode, Inc. and others.