MonetaryAmount
whose value is the absolute value of this
MonetaryAmount
, and whose scale is this.scale()
.Q
.AbstractContextBuilder
.Q
.MonetaryAmount
whose value is
this + amount, and whose scale is max(this.scale,
amount.scale)
.AmountFormatContext
provides details about a MonetaryAmountFormat
.AmountFormatContext
adding detailed
information
about a MonetaryAmountFormat
instance.MonetaryAmountFormat
.MonetaryAmountFormat
instances.AbstractContext
with the data from this Builder
instance.AbstractQuery
with the data from this Builder
instance.ConversionContext
with the data from this
Builder instance.ConversionQuery
.ProviderContext
with the data from this Builder
instance.CurrencyContext
.CurrencyQuery
.AmountFormatContext
that configures a .MonetaryAmountFormat
.AmountFormatQuery
instance.MonetaryAmountFactoryQuery
based on the values of this
Builder.MonetaryAmountFactoryQuery
.RoundingContext
.RoundingQuery
.ExchangeRate
is valid.ConversionContext
instances.ConversionContext
instances for querying.CurrencyConversion
instances.ConversionQuery
adding detailed
information about a CurrencyConversion
instance.ConversionContext
's values as defaults.ProviderContext
's values as defaults.AmountFormatContextBuilder
.MonetaryAmount
, using the current data set on this factory.MonetaryAmountFactory
given the required context.CurrencyUnit
instances.CurrencyContext
adding detailed information
about a CurrencyUnit
instance.CurrencyConversion
that is converting a MonetaryAmount
to another
MonetaryAmount
with a different target CurrencyUnit
.CurrencyConversionException
with the specified
detail message, timestamp, source and target currency.CurrencyConversionException
with the specified
source and target currency.Bootstrap
, which allows to
register/provide additional currencies into the system automatically on
startup.CurrencyUnit
.CurrencyUnit
instances.CurrencyUnit
-valued results.MonetaryAmount
whose value is this /
divisor
, and whose preferred scale is this.scale() -
divisor.scale()
if the exact quotient cannot be represented an ArithmeticException
is thrown.MonetaryAmount
whose value is this /
divisor
, and whose preferred scale is this.scale() -
divisor.scale()
if the exact quotient cannot be represented an ArithmeticException
is thrown.MonetaryAmount
whose value is this /
divisor
, and whose preferred scale is this.scale() -
divisor.scale()
if the exact quotient cannot be represented an ArithmeticException
is thrown.MonetaryAmount
array containing the result of
divideToIntegralValue
followed by the result of remainder
on the two
operands.MonetaryAmount
array containing the result of
divideToIntegralValue
followed by the result of remainder
on the two
operands.MonetaryAmount
array containing the result of
divideToIntegralValue
followed by the result of remainder
on the two
operands.MonetaryAmount
whose value is the integer part of the quotient
this / divisor
rounded down.MonetaryAmount
whose value is the integer part of the quotient
this / divisor
rounded down.MonetaryAmount
whose value is the integer part of the quotient
this / divisor
rounded down.double
.ExchangeRateProvider
name that references an implementation.MonetaryAmount
to a String.ProviderContext
and the given RateType
.MonetaryAmountFactoryQuery
.MonetaryAmount
implementation classes that are
accessible from this MonetaryAmount
singleton.MonetaryAmountFactory
implementation class, that best matches to cover the given
MonetaryContext
.MonetaryAmount
implementation classes.MonetaryAmountFactory
for the given MonetaryAmount
implementation
type.MonetaryAmountFactory
implementation type found,
if there is only one type.MonetaryAmountFactory
for the given amountType
.MonetaryAmountFormat
given a .AmountFormatQuery
.MonetaryAmountFormat
given a Locale
.MonetaryAmountFormat
given a Locale
.MonetaryAmountFormat
given a Locale
.MonetaryAmountFormat
given a Locale
.MonetaryAmountFormat
given its styleId.MonetaryAmountFormat
given a .AmountFormatQuery
.MonetaryAmountFormat
given a Locale
.MonetaryAmountFormat
given a Locale
.MonetaryAmountFormat
given a .AmountFormatContext
.MonetaryAmountFormat
instances that match the given a AmountFormatQuery
.MonetaryAmountFormat
for the given input.MonetaryAmountFormat
instances matching the given .AmountFormatQuery
.
w = longValue()
n = getFractionNominator()
d = getFractionDenominator()
the following must be always true:
!
w = longValue()
n = getFractionNominator()
d = getFractionDenominator()
the following must be always true:
!
MonetaryAmount
implementation type.MonetaryAmountFactory
instances provided.MonetaryAmount
implementation type found,
if there is only one type.MonetaryAmount
implementation classes that are
accessible from this MonetaryAmount
singleton.MonetaryAmount
implementation types found.MonetaryAmount
implementation types.CurrencyUnit
.ConversionContext
of this conversion instance.ConversionContext
of ExchangeRate
.ConversionContext
for this ExchangeRateProvider.CurrencyContext
of a a currency.AmountFormatContext
to be applied when a MonetaryAmount
is formatted.MonetaryContext
of this MonetaryAmount
.CurrencyConversion
for the given providers.CurrencyConversion
for the given providers.CurrencyConversion
for the given providers.CurrencyConversion
.CurrencyConversion
.Locale
.CurrencyUnit
instances matching the given
CurrencyContext
.CurrencyUnit
.CurrencyUnit
.Locale
.CurrencyUnit
, which is based for this rounding type.CurrencyConversion
that can be applied as a
MonetaryOperator
to an amount.CurrencyConversion
that can be applied as a
MonetaryOperator
to an amount.CurrencyConversion
that can be applied as a
MonetaryOperator
to an amount.MonetaryAmountFactory
as defined by
MonetaryAmountsSingletonSpi.getDefaultAmountFactory()
.MonetaryAmountFactory
.MonetaryAmount
implementation class that is
accessible from this MonetaryAmount
singleton.MonetaryAmount
implementation type.MonetaryContext
used, when no MonetaryContext
is
provided.MonetaryContext
used, when no MonetaryContext
is
provided.MonetaryOperator
to
chained calculations.MonetaryRounding
that can be added as MonetaryOperator
to
chained calculations.ExchangeRate
applied for the given MonetaryAmount
.ExchangeRate
using the given currencies.ExchangeRate
using the given currencies.ExchangeRate
using the given currencies.ExchangeRateProvider
.CurrencyConversion
using the given
providers as a provider chain.CurrencyConversion
using the
ExchangeRateProviderSupplier
.CurrencyConversion
using the given
providers as a provider chain.ExchangeRateProvider
.ExchangeRateProvider
based on the given provider chain.ExchangeRateProvider
instances.MonetaryAmountFactory
, returning the same implementation type Hereby
this given amount is used as a template, so reusing the CurrencyUnit
, its numeric
value, the algorithmic implementation as well as the current MonetaryContext
.Locale
.Locale
.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.>= -1
.MonetaryAmountFactoryQuery
to be used for accessing MonetaryAmountFactory
, when amount's are parsed.NumberValue
.MonetaryAmountFactory
that is used to of new amounts during
parsing.precision
setting.MonetaryAmount
.MonetaryAmount
implementation types when calling
Monetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery)
.ExchangeRate
to a rate mapping from term
to base CurrencyUnit
.MonetaryOperator
for rounding MonetaryAmount
instances given a currency.MonetaryOperator
for custom rounding
MonetaryAmount
instances.MonetaryRounding
using a possibly complex query.MonetaryRounding
for rounding MonetaryAmount
instances given a currency.MonetaryRounding
using the rounding name.MonetaryRounding
instances using a possibly complex queryMonetaryRounding
.MonetaryAmount
.ServiceProvider.getServices(Class)
.ServiceProvider.getServices(Class)
.ServiceProvider
in use.int
.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.MonetaryAmountFormat
is available given a .AmountFormatQuery
.MonetaryAmountFormat
is available given a .AmountFormatQuery
.MonetaryAmountFormat
is available for the given Locale
and providers.MonetaryAmountFormat
is available for the given AmountFormatQuery
.MonetaryAmountFactory
.MonetaryAmountFactory
is matching the given query.MonetaryAmountFormat
is available given a .AmountFormatQuery
.MonetaryAmountFormat
is available given a .AmountFormatQuery
.CurrencyConversion
is available for the given parameters.CurrencyConversion
is available for the given parameters.CurrencyConversion
is available for the given parameters.CurrencyConversion
is accessible for the given
ConversionQuery
.CurrencyConversion
is accessible for the given
ConversionQuery
.CurrencyUnit
instance is defined, i.e.CurrencyUnit
instance is
defined, i.e. accessible from Monetary.getCurrency(String, String...)
.CurrencyUnit
instances matching the given
CurrencyContext
is available from this provider.CurrencyUnit
instance is defined, i.e.CurrencyUnit
instance is
defined, i.e. accessible from MonetaryCurrenciesSingletonSpi.getCurrency(String, String...)
.MonetaryAmount
, hereby ignoring non significant trailing
zeroes and different numeric capabilities.ExchangeRateProvider
is available for the given parameters.ExchangeRateProvider
is accessible for the given
ConversionQuery
.minScale == maxScale
.MonetaryAmount
, hereby ignoring non significant trailing
zeroes and different numeric capabilities.MonetaryAmount
, hereby ignoring non significant trailing
zeroes and different numeric capabilities.MonetaryAmount
, hereby ignoring non significant trailing
zeroes and different numeric capabilities.MonetaryAmount
, hereby ignoring non significant trailing
zeroes and different numeric capabilities.MonetaryAmount
is negative.MonetaryAmount
is negative or zero.MonetaryAmount
is positive.MonetaryAmount
is positive or zero.MonetaryRounding
is available given a roundingId.MonetaryRounding
is available given a roundingId.MonetaryRounding
matching the query is available.MonetaryRounding
is matching the given query.MonetaryRounding
is available given a roundingId.MonetaryRounding
is available given a CurrencyUnit
.MonetaryAmount
is zero.long
.CurrencyUnit
instances as provided by the
different registered CurrencyProviderSpi
instances.MonetaryAmount
instances for a given type.MonetaryAmountsSingletonSpi
to evaluate the
correct MonetaryAmountFactory
instances.Monetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery)
.MonetaryAmountFactory
, which are determined by the (minimal)
capabilities required by the give use case.MonetaryAmountFactoryQuery
that can be passed
to access MonetaryAmountFactory
instances using a possible complex query.MonetaryAmountFormat
instances.Monetary
singleton, implementing
the query functionality for amounts.Monetary
singleton.MonetaryAmount
in a
platform independent way.MonetaryContext
adding detailed information
about a MonetaryAmount
instance.MonetaryConversions
singleton accessor.Monetary
that provides access to
different registered CurrencyProviderSpi
instances.MonetaryAmountFormat
instances.MonetaryAmountFormat
instances.MonetaryFormats
.MonetaryAmount
that produces a
result of type MonetaryAmount
.MonetaryOperator
.MonetaryAmount
whose value is (this ×
multiplicand), and whose scale is this.scale() +
multiplicand.scale()
.MonetaryAmount
whose value is (this ×
multiplicand), and whose scale is this.scale() +
multiplicand.scale()
.MonetaryAmount
whose value is (this ×
multiplicand), and whose scale is this.scale() +
multiplicand.scale()
.MonetaryAmount
whose value is -this
, and whose scale is
this.scale()
.NumberValue
-valued results.MonetaryAmount
.Number
.Number
.ConversionContext
.ConversionContext
for accessing rates of the given
type, without specifying the rate's provider.ConversionContext
.ConversionContextBuilder
instance.ConversionContextBuilder
instance.ConversionQueryBuilder
instance.ConversionQueryBuilder
instance.CurrencyQueryBuilder
.CurrencyQueryBuilder
.AmountFormatContextBuilder
.AmountFormatContextBuilder
.AmountFormatContextBuilder
for a formatter based on the locale specific
defaults.(java.util.Locale)
.AmountFormatQueryBuilder
and initializes it with the values from {@code formatQuery.AmountFormatQueryBuilder
.AmountFormatQueryBuilder
for a formatter based on the
locale specific
defaults.CurrencyQueryBuilder
.CurrencyQueryBuilder
.MonetaryContext
as a template.MonetaryAmount
.MonetaryAmount
whose value is +this
, with rounding according to
the context settings.MonetaryAmount
to a Appendable
.ExchangeRate
s a .ExchangeRateProvider
delivers, including the provider's name, rate type and additional data.ProviderContext
instances..ExchangeRateProvider
implementations.MonetaryAmount
whose value is this % divisor
.MonetaryAmount
whose value is this % divisor
.MonetaryAmount
whose value is this % divisor
.MathContext
.MonetaryRounding
in a
platform independent way.RoundingContext
adding detailed information
about a MonetaryRounding
instance.CurrencyUnit
.MonetaryRounding
.MonetaryAmount
whose numerical value is equal to ( this
*
10n).attribute.getClass()
as attribute
type and attribute.getClass().getName()
as attribute
name.attribute.getClass()
as attribute
type.attribute.getClass()
as attribute
type.MonetaryAmount
to initialize this factory.MonetaryContext
to be used.CurrencyUnit
to be used.CurrencyUnit
to be used.CurrencyUnit
, which is based for this rounding type.CurrencyUnit
, which defines a rounding targeting a concrete CurrencyUnit
.MonetaryContext
to be used, when amount's are parsed.MonetaryAmountFactory
to be used to of amounts during parsing.MonetaryContext
to be used, when amount's are parsed.MonetaryRounding
instances.MonetaryAmount
.MonetaryAmount
which is numerically equal to this one but with any trailing
zeros removed from the representation.MonetaryAmount
whose value is this - amount
, and whose scale is max(this.scale(),
subtrahend.scale())
.ProviderContextBuilder
initialized with this instance's data.CurrencyContextBuilder
, which allows
to change the values and of another CurrencyContext
instance.AmountFormatQueryBuilder
preinitialized with this context instance.CurrencyContextBuilder
, which allows
to change the values and of another CurrencyContext
instance.CurrencyUnit
.CurrencyUnit
could not be evaluated given a
currency code.CurrencyUnit
could not be evaluated given a
(country) Locale
.Copyright © 2012–2015 JSR 354 - Expert Group. All rights reserved.