MonetaryAmountFactory, which simplifies development of the SPI interface.ExchangeRateProvider implementations.LoaderService.LoaderListener callback that is informed when a data
resource was update from remote, or resetToFallback.MonetaryAmountFactoryQuery
instances for configuring MonetaryAmountFormat instances to be accessed.MonetaryAmount to an
MonetaryAmount based on the ExchangeRate of this
conversion.RoundedMoney.isZero(), and #number
RoundedMoney.stripTrailingZeros() in all other cases.Bootstrap, which allows to
register/provide additional currencies into the system automatically on
startup.MonetaryAmount instances for a given type.MonetaryAmountsSingletonSpi to evaluate the
correct MonetaryAmountFactory instances.Monetary singleton, implementing
the query functionality for amounts.Monetary singleton.MonetaryConversions singleton accessor.Monetary that provides access to
different registered CurrencyProviderSpi instances.MonetaryFormats.MonetaryOperator.ExchangeRate.BuildableCurrencyUnit.BuildableCurrencyUnit and publishes it so it is
accessible from the Monetary singleton.BuildableCurrencyUnit and publishes it so it is
accessible from the Monetary singleton.MonetaryAmountFormat
If @{link Locale} didn't set the default value is Locale.getDefault()
If @{link MonetaryAmountProducer} didn't set the default value is MoneyProducer
If @{link CurrencyUnit} didn't set the default value is a currency from LocaleMonetaryRoundedFactory using the PrecisionContextRoundedOperator as rounding operator.MonetaryRoundedFactory using the PrecisionScaleRoundedOperator as rounding operator.MonetaryRoundedFactory using the ScaleRoundedOperator as rounding operator.ProviderContext instances of the providers
contained within this instance.MonetarySummaryStatistics into this
one.JDKCurrencyAdapter.getCurrencyCode().ExchangeRateProvider that delegates calls to
a collection of child ExchangeRateProvider instance.MonetaryAmount instance.MonetaryAmount, using the default MonetaryContext.MonetaryAmount, using the default MonetaryContext.BuildableCurrencyUnit using a fluent
API.MonetaryContext applied, if not set explicitly on
creation.MonetaryContext applied.MonetaryAmountsSingletonSpi loading the SPIs on startup
initially once, using the
JSR's Bootstrap mechanism.MonetaryAmountsSingletonSpi loading the SPIs on startup
initially once, using the
JSR's Bootstrap mechanism.MonetaryConversionsSingletonSpi interface, backing
up the MonetaryConversions singleton.Bootstrap component.CurrencyUnit instances as provided by the
different registered CurrencyProviderSpi instances.MonetarySummaryStatistics This
implementations cannot do exchange rateCurrencyUnit.NumberValue based on BigDecimal.ResourceCache, using the local file system.RoundingProviderSpi that creates instances of .javamoney.moneta.format.DefaultRounding that relies on the default fraction units defined by .Currency#getDefaultFractionDigits().NumberValue types.null an ArithmeticException is thrown.NumberValue types.null an ArithmeticException is thrown.ExchangeRateProvider that loads data from
the European Central Bank data feed (XML).ExchangeRateProvider
that loads data from the European Central Bank data feed (XML).ExchangeRateProvider
that loads data from the European Central Bank data feed (XML).ExchangeRate.MonetaryAmount instance.MonetaryAmount instance.long based implementation of MonetaryAmount.This class internally uses a
single long number as numeric representation, which basically is interpreted as minor units.MonetaryAmountFactory creating instances of FastMoney.MonetaryAmountFactoryProviderSpi creating instances of
FastMoneyAmountFactory.MonetaryAmountProducer that creates MonetaryAmount
using FastMoney implementation.MonetaryAmountProducer that creates MonetaryAmount
using FastMoney implementation.MonetaryAmount to a String.MonetaryAmount to a
Money instance.MonetaryAmount implementation classes.MonetaryAmountFactory implementation type found,
if there is only one type.MonetaryAmountFormat given a .AmountFormatQuery.MonetaryAmountFormat given a Locale.MonetaryAmountFormat given a Locale.MonetaryAmount implementation type found,
if there is only one type.MonetaryAmount implementation types found.BigDecimal from the given Number doing the
valid conversion depending the type given.BigDecimal from the given Number doing the
valid conversion depending the type given.BigDecimal from the given Number doing the
valid conversion depending the type given.BigDecimal from the given Number doing the
valid conversion depending the type given, if a MonetaryContext
is given, it is applied to the number returned.MonetaryContext used by this instance.MonetaryContext used by this instance.MathContext used by this instance.ConversionContext of this conversion instance.CurrencyConversion.CurrencyConversion.CurrencyUnit instances matching the given
CurrencyContext.CurrencyUnit instances matching the given
CurrencyContext.CurrencyUnit.CurrencyUnit.CurrencyUnit of this conversion instance.CurrencyConversion that can be applied as a
MonetaryOperator to an amount.CurrencyConversion that can be applied as a
MonetaryOperator to an amount.MonetaryAmountFactory.MonetaryContext used, when no MonetaryContext is
provided.MonetaryContext used, when no MonetaryContext is
provided.MonetaryOperator instance is
using for conversion.ExchangeRate using the given currencies.ExchangeRate using the given currencies.ExchangeRateProvider based on the given provider chain.ExchangeRateProvider instances.MathContext from the given MonetaryContext.MonetaryContext supported.MonetaryContext supported.MonetaryContext supported, for requests that exceed these maximal
capabilities, an ArithmeticException must be thrown.MonetaryContext supported, for requests that exceed these maximal
capabilities, an ArithmeticException must be thrown.Money.isZero(), and
#stripTrailingZeros() in all other cases.MonetaryAmount implementation types when calling
Monetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery).Set of all registered data resource identifiers.ExchangeRate to a rate mapping from term
to base CurrencyUnit.MonetaryRounding for rounding MonetaryAmount
instances given a currency.MonetaryRounding using the rounding name.LoaderService.UpdatePolicy in place for the given dataId.char[], hereby starting from the decimal point.int[], hereby starting from the decimal point.ExchangeRateProvider that provides exchange rate with factor
one for identical base/term currencies.ExchangeRateProvider that loads the IMF conversion data.ExchangeRate between two CurrencyUnit is
available from this provider.ExchangeRate between two CurrencyUnit is
available from this provider.ExchangeRate between two CurrencyUnit is
available from this provider.MonetaryAmountFactory is matching the given query.MonetaryAmountFormat is available given a .AmountFormatQuery.MonetaryAmountFormat is available given a .AmountFormatQuery.CurrencyConversion is accessible for the given
ConversionQuery.CurrencyConversion is accessible for the given
ConversionQuery.CurrencyUnit instances matching the given
CurrencyContext is available from this provider.CurrencyUnit instance is defined, i.e.CurrencyUnit instance is
defined, i.e.ExchangeRateProvider is accessible for the given
ConversionQuery.MonetaryAmount is negative.MonetaryAmount is negative or zero.MonetaryAmount is positive.MonetaryAmount is positive or zero.MonetaryRounding is matching the given query.MonetaryRounding is available given a roundingId.MonetaryRounding is available given a CurrencyUnit.MonetaryAmount is zero.CurrencyUnit based on the using the JDK's
Currency.CurrencyUnit based on the using the JDK's
Currency.CurrencyConversion that is converting to a
specific target CurrencyUnit.LoadableResource.LoaderService.UpdatePolicy configured.LoaderService.UpdatePolicy configured.LoadDataInformation
Programmatically registers a remote resource resourceLocation,
backed up by a classpath resource backupResource, reachable as
dataId.LoaderService.UpdatePolicy configured, from the fallback/local
resource.URIs.LoaderService tries to update the local cache with newest version of
the registered data resources, accessing the configured remote
URIs.MonetaryAmount
This returns the monetary amount in terms of the minor units of the
currency, truncating the whole part if necessary.MonetaryAmount
This returns the monetary amount in terms of the minor units of the
currency, truncating the whole part if necessary.MonetaryAmountFormat.MonetaryQuery, to MonetaryAmount.RoundedMoney using the MonetaryOperator as rounding.MonetaryRoundedFactory once the RoundingMode, is possible
choose the scale, the number of digits to the right of the decimal point, and the precision, the total number of digits in a number or both.RoundingMode and precision informed, is possible create a MonetaryRoundedFactory
or set the number of scale.RoundingMode, precision and scale informed, the next step will build a MonetaryRoundedFactory
with all these information.RoundingMode and scale informed, is possible create a MonetaryRoundedFactory
or set the number of precision.MonetaryAmount based
on BigDecimal as numeric representation.MonetaryAmountFactory creating instances of Money.MonetaryAmountFactoryProviderSpi creating instances of
MoneyAmountFactory.MonetaryAmountProducer that creates MonetaryAmount
using Money implementation.MonetaryAmountProducer that creates MonetaryAmount
using Money implementation.MonetaryAmount,
by providing the common functionality.NumberValue types.null an ArithmeticException is thrown.LoaderService, when new data was
read for a given data item.MonetaryAmountDecimalFormatBuilder with default Locale.FastMoney.FastMoney.FastMoney.MonetaryAmountDecimalFormatBuilder with Locale set from parameter.MonetaryAmountDecimalFormatBuilder with default Locale and pattern to format the MonetaryAmount.MonetaryAmountDecimalFormatBuilder with Locale set from parameter and pattern to format the MonetaryAmount.CurrencyUnit.MonetaryRoundedFactory using the PrecisionContextRoundedOperator as rounding operator.MonetaryRoundedFactory using a custom MonetaryOperator as rounding operator.Money, using the default
MonetaryContext.Money, using an explicit
MonetaryContext.Money, using the default
MonetaryContext.Money, using an explicit
MonetaryContext.Money.Money.Money.Money.BigDecimal value and a CurrencyUnit currency into a
Money.BigDecimal value and a CurrencyUnit currency into a
Money.BigDecimal value and a CurrencyUnit currency into a
Money.RoundedMoney .RoundedMoney .RoundedMoney .RoundedMoney .NumberValue, using the given number.FastMoney from an amount in minor units.FastMoney from an amount in minor units.Money from an amount in minor units.Money from an amount in minor units.FastMoney from an amount in minor units.Money from an amount in minor units.BigDecimal.ONEExchangeRateProvider implementations.CurrencyProviderSpi,
MonetaryAmountFactory,
MonetaryAmountFactoryProviderSpi and RoundingProviderSpi.LoaderService.ParseContext.DecimalFormat.MonetaryOperators.percent(BigDecimal) converting
this number to BigDecimal and using the MonetaryOperators.DEFAULT_MATH_CONTEXTMonetaryOperators.percent(BigDecimal) converting
this number to BigDecimal and using the MathContext in parametersMathContext to does the rounding operations.RoundingMode and precision to does the rounding operations.MonetaryAmount to an Appendable.ServiceProvider interface and hereby uses the JDK
ServiceLoader to load the services required.MonetaryAmount
Gets the amount as reciprocal, multiplicative inverse value (1/n).resourceLocation,
backed up by a classpath resource backupResource, reachable as
dataId and (synchronously) loads the data.resourceLocation,
backed up by a classpath resource backupResource, reachable as
dataId.LoaderService.LoaderListener callback.ResourceCache.MonetaryAmount based on
BigDecimal for the numeric representation.RoundedMoney.MonetaryAmountFactory creating instances of .RoundedMoney.MonetaryAmountFactoryProviderSpi creating instances of
RoundedMoneyAmountBuilder.MonetaryAmountProducer that creates MonetaryAmount
using RoundedMoney using the MonetaryOperator as rounding operatorMonetaryAmountProducer that creates MonetaryAmount
using the RoundedMoney implementation using MonetaryOperators.rounding().MonetaryAmountProducer that creates MonetaryAmount
using RoundedMoney using the MonetaryOperator as rounding operatorMonetaryAmountProducer that creates MonetaryAmount
using the RoundedMoney implementation using MonetaryOperators.rounding()
as rounding operatorMonetaryAmount using CurrencyUnit.getDefaultFractionDigits()
and RoundingMode.HALF_EVEN.MonetaryAmount using the scale informed
and RoundingMode.HALF_EVEN.RoundingMode to does the rounding operations.MonetaryAmount to a new MonetaryAmount
instance, hereby supporting the MonetaryContext given.MonetaryAmount to a new MonetaryAmount
instance, hereby supporting the MonetaryContext given.MonetaryAmount to initialize this factory.CurrencyUnitCurrencyUnit to be used.base * factor = target.Monetary, using the default MonetaryContext.Monetary, using the default MonetaryContext.ExchangeRateBuilder with an ExchangeRate.ExchangeRate chain.ExchangeRate chain.CurrencyUnitMonetaryAmount considering the
ExchangeRateMonetaryFunctions.sortValuable(ExchangeRateProvider)CurrencyUnitCurrencyUnit.CurrencyUnitMonetaryAmountProducerFastMoney representing zero.Money representing zero.RoundedMoney representing zero.Copyright © 2012–2020 JavaMoney. All rights reserved.