Module java.money
Package javax.money.convert
Defines the monetary currency conversion API.
-
Interface Summary Interface Description CurrencyConversion This interface defines aCurrencyConversionthat is converting aMonetaryAmountto anotherMonetaryAmountwith 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 ofExchangeRateProvidername that references an implementation. -
Class Summary Class Description ConversionContext This class models a context for which aExchangeRateis valid.ConversionContextBuilder Builder class to ofConversionContextinstances.ConversionQuery Query for accessingCurrencyConversioninstances.ConversionQueryBuilder Builder class for creating new instances ofConversionQueryadding detailed information about aCurrencyConversioninstance.MonetaryConversions This singleton defines access to the exchange and currency conversion logic of JavaMoney.ProviderContext This class describes what kind ofExchangeRates a.ExchangeRateProviderdelivers, including the provider's name, rate type and additional data.ProviderContextBuilder Builder class to ofProviderContextinstances. -
Enum Summary Enum Description RateType This enumeration defines the different type of rates that can be provided by.ExchangeRateProviderimplementations. -
Exception Summary Exception Description CurrencyConversionException Exception thrown when a monetary conversion operation fails.