Module java.money
Package javax.money.convert
Defines the monetary currency conversion API.
-
Interface Summary Interface Description CurrencyConversion This interface defines aCurrencyConversion
that is converting aMonetaryAmount
to anotherMonetaryAmount
with a different targetCurrencyUnit
.ExchangeRate This class models an exchange rate, which defines the factor the numeric value of a base amount in some currency 'A' must be multiplied to get the corresponding amount in the terminating currency 'B'.ExchangeRateProvider This interface defines access to the exchange rates provided by a provider.ExchangeRateProviderSupplier A supplier ofExchangeRateProvider
name that references an implementation. -
Class Summary Class Description ConversionContext This class models a context for which aExchangeRate
is valid.ConversionContextBuilder Builder class to ofConversionContext
instances.ConversionQuery Query for accessingCurrencyConversion
instances.ConversionQueryBuilder Builder class for creating new instances ofConversionQuery
adding detailed information about aCurrencyConversion
instance.MonetaryConversions This singleton defines access to the exchange and currency conversion logic of JavaMoney.ProviderContext This class describes what kind ofExchangeRate
s a.ExchangeRateProvider
delivers, including the provider's name, rate type and additional data.ProviderContextBuilder Builder class to ofProviderContext
instances. -
Enum Summary Enum Description RateType This enumeration defines the different type of rates that can be provided by.ExchangeRateProvider
implementations. -
Exception Summary Exception Description CurrencyConversionException Exception thrown when a monetary conversion operation fails.