Package | Description |
---|---|
org.joda.money |
Modifier and Type | Method and Description |
---|---|
ExchangeRate |
NotExchangeableException.getExchangeRate() |
ExchangeRate |
ExchangeRateOperations.getExchangeRate()
Returns the current ExchangeRate.
|
ExchangeRate |
NoCommonCurrencyException.getFirst() |
ExchangeRate |
NoCommonCurrencyException.getSecond() |
static ExchangeRate |
ExchangeRate.identity(CurrencyUnit currency)
Creates an identity rate for the given
CurrencyUnit . |
static ExchangeRate |
ExchangeRate.of(BigDecimal rate,
CurrencyUnit source,
CurrencyUnit target)
Creates an Exchange rate with the given parameters.
|
static ExchangeRate |
ExchangeRate.parse(String exchangeRate) |
ExchangeRate |
ExchangeRate.withRate(BigDecimal rate)
Creates an ExchangeRate like this one with the given rate.
|
Modifier and Type | Method and Description |
---|---|
ExchangeRateOperations |
ExchangeRateOperations.combine(ExchangeRate other)
Combines
ExchangeRate represented by this object with the given one. |
Constructor and Description |
---|
NoCommonCurrencyException(ExchangeRate first,
ExchangeRate second) |
NotExchangeableException(BigMoneyProvider money,
ExchangeRate exchangeRate) |
Copyright © 2009-2012 Joda.org. All Rights Reserved.