Package | Description |
---|---|
javax.money.convert |
Defines the monetary currency conversion API.
|
Modifier and Type | Method and Description |
---|---|
ExchangeRate |
ExchangeRateProvider.getExchangeRate(ConversionQuery conversionQuery)
Access a
ExchangeRate using the given currencies. |
default ExchangeRate |
ExchangeRateProvider.getExchangeRate(CurrencyUnit base,
CurrencyUnit term)
Access a
ExchangeRate using the given currencies. |
ExchangeRate |
CurrencyConversion.getExchangeRate(MonetaryAmount sourceAmount)
Get the
ExchangeRate applied for the given MonetaryAmount
. |
default ExchangeRate |
ExchangeRateProvider.getExchangeRate(String baseCode,
String termCode)
Access a
ExchangeRate using the given currencies. |
default ExchangeRate |
ExchangeRateProvider.getReversed(ExchangeRate rate)
The method reverses the
ExchangeRate to a rate mapping from term
to base CurrencyUnit . |
Modifier and Type | Method and Description |
---|---|
List<ExchangeRate> |
ExchangeRate.getExchangeRateChain()
Access the chain of exchange rates.
|
Modifier and Type | Method and Description |
---|---|
default ExchangeRate |
ExchangeRateProvider.getReversed(ExchangeRate rate)
The method reverses the
ExchangeRate to a rate mapping from term
to base CurrencyUnit . |
Copyright © 2012–2016 JSR 354 - Expert Group. All rights reserved.