public static final class CurrencyMetaInfo.CurrencyInfo
extends java.lang.Object
Modifier and Type | Field and 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.
|
short |
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 and Description |
---|
CurrencyMetaInfo.CurrencyInfo(java.lang.String region,
java.lang.String code,
long from,
long to,
int priority)
Constructs a currency info.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns a string 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 short priority
public CurrencyMetaInfo.CurrencyInfo(java.lang.String region, java.lang.String code, long from, long to, int priority)
region
- region codecode
- currency codefrom
- start date in millisecondsto
- end date in millisecondspriority
- priority value, 0 is highest priority, increasing values are lowerCopyright (c) 2011 IBM Corporation and others.