| java.lang.Object com.ibm.icu.util.Measure com.ibm.icu.util.CurrencyAmount
CurrencyAmount | public class CurrencyAmount extends Measure (Code) | | An amount of currency, consisting of a Number and a Currency.
CurrencyAmount objects are immutable.
See Also: java.lang.Number See Also: Currency author: Alan Liu |
CurrencyAmount | public CurrencyAmount(Number number, Currency currency)(Code) | | Constructs a new object given a number and a currency.
Parameters: number - the number Parameters: currency - the currency |
CurrencyAmount | public CurrencyAmount(double number, Currency currency)(Code) | | Constructs a new object given a double value and a currency.
Parameters: number - a double value Parameters: currency - the currency |
getCurrency | public Currency getCurrency()(Code) | | Returns the currency of this object.
this object's Currency |
|
|