- scaleByPowerOfTen(int) - Method in interface javax.money.MonetaryAmount
-
Returns a MonetaryAmount
whose numerical value is equal to ( this
*
10n).
- ServiceProvider - Interface in javax.money.spi
-
This class models the component that is managing the lifecycle of the
monetary services used by the Money and Currency API.
- set(Object) - Method in class javax.money.AbstractContext.AbstractBuilder
-
Sets an attribute, using attribute.getClass()
as attribute
type and attribute.getClass().getName()
as attribute
name.
- set(Object, Object) - Method in class javax.money.AbstractContext.AbstractBuilder
-
Sets an attribute, using attribute.getClass()
as attribute
type.
- set(T, Object, Class<? extends T>) - Method in class javax.money.AbstractContext.AbstractBuilder
-
Sets an attribute.
- set(T, Object, Class<? extends T>) - Method in class javax.money.AbstractContext
-
Set a value, use this method hereby only for initialization to keep
immutable semantics.
- set(T) - Method in class javax.money.AbstractContext
-
Sets an attribute, using attribute.getClass()
as attribute
type and attribute.getClass().getName()
as attribute
name.
- setAll(AbstractContext) - Method in class javax.money.AbstractContext.AbstractBuilder
-
Apply all attributes on the given context.
- setAmount(MonetaryAmount) - Method in interface javax.money.MonetaryAmountFactory
-
- setAmountStyle(AmountStyle) - Method in interface javax.money.format.MonetaryAmountFormat
-
- setAmountType(Class<? extends MonetaryAmount>) - Method in class javax.money.MonetaryContext.Builder
-
Sets a fixed scale, hereby setting both minScale, maxScale
to
fixedScale
.
- setBase(CurrencyUnit) - Method in class javax.money.convert.ExchangeRate.Builder
-
- setContext(ConversionContext) - Method in class javax.money.convert.ExchangeRate.Builder
-
Sets the provider to be applied.
- setContext(MonetaryContext) - Method in interface javax.money.MonetaryAmountFactory
-
- setCurrency(String) - Method in interface javax.money.MonetaryAmountFactory
-
- setCurrency(CurrencyUnit) - Method in interface javax.money.MonetaryAmountFactory
-
- setCurrencyStyle(CurrencyStyle) - Method in class javax.money.format.AmountStyle.Builder
-
- setDecimalSeparator(char) - Method in class javax.money.format.AmountFormatSymbols.Builder
-
Sets the character used for decimal sign.
- setDefaultCurrency(CurrencyUnit) - Method in interface javax.money.format.MonetaryAmountFormat
-
- setDigit(char) - Method in class javax.money.format.AmountFormatSymbols.Builder
-
Sets the character used for a digit in a pattern.
- setDisplayConversion(MonetaryOperator) - Method in class javax.money.format.AmountStyle.Builder
-
Sets the conversion to be applied before formatting.
- setExponentialSeparator(String) - Method in class javax.money.format.AmountFormatSymbols.Builder
-
Sets the character used for decimal sign.
- setFactor(NumberValue) - Method in class javax.money.convert.ExchangeRate.Builder
-
Sets the conversion factor, as the factor
base * factor = target
.
- setFixedScale(boolean) - Method in class javax.money.MonetaryContext.Builder
-
Sets a fixed scale, hereby setting both minScale, maxScale
to
fixedScale
.
- setFlavor(MonetaryContext.AmountFlavor) - Method in class javax.money.MonetaryContext.Builder
-
Sets a fixed scale, hereby setting both minScale, maxScale
to
fixedScale
.
- setGroupingSeparator(char...) - Method in class javax.money.format.AmountFormatSymbols.Builder
-
Sets the character used for thousands separator.
- setGroupingSizes(int...) - Method in class javax.money.format.AmountStyle.Builder
-
Sets the customized number group sizes to be used for formatting.
- setInfinity(String) - Method in class javax.money.format.AmountFormatSymbols.Builder
-
Sets the infinity String used.
- setMaxScale(int) - Method in class javax.money.MonetaryContext.Builder
-
Sets a maximal scale.
- setMinusSign(char) - Method in class javax.money.format.AmountFormatSymbols.Builder
-
Sets the character used to represent minus sign.
- setMonetaryContext(MonetaryContext) - Method in interface javax.money.format.MonetaryAmountFormat
-
- setNumber(double) - Method in interface javax.money.MonetaryAmountFactory
-
Sets the number to be used.
- setNumber(long) - Method in interface javax.money.MonetaryAmountFactory
-
Sets the number to be used.
- setNumber(Number) - Method in interface javax.money.MonetaryAmountFactory
-
Sets the number to be used.
- setParseConversion(MonetaryOperator) - Method in class javax.money.format.AmountStyle.Builder
-
Sets the conversion to be applied after parsing.
- setPattern(String) - Method in class javax.money.format.AmountStyle.Builder
-
Set the java.text.DecimalFormat
as defined by
java.text.DecimalFormat#getInstance(Locale)
by the given Locale
.
- setPatternSeparator(char) - Method in class javax.money.format.AmountFormatSymbols.Builder
-
Sets the character used to separate positive and negative subpatterns in a pattern.
- setPrecision(int) - Method in class javax.money.MonetaryContext.Builder
-
Sets the maximal precision supported.
- setProvider(String) - Method in class javax.money.convert.ConversionContext.Builder
-
Sets the converion's provider.
- setProviderName(String) - Method in class javax.money.convert.ProviderContext.Builder
-
Sets the provider name.
- setRate(ExchangeRate) - Method in class javax.money.convert.ExchangeRate.Builder
-
- setRateChain(ExchangeRate...) - Method in class javax.money.convert.ExchangeRate.Builder
-
- setRateType(RateType) - Method in class javax.money.convert.ConversionContext.Builder
-
Set the historic value.
- setRateTypes(RateType...) - Method in class javax.money.convert.ProviderContext.Builder
-
Set the rate types.
- setSymbols(AmountFormatSymbols) - Method in class javax.money.format.AmountStyle.Builder
-
- setTerm(CurrencyUnit) - Method in class javax.money.convert.ExchangeRate.Builder
-
- setTimestamp(long) - Method in class javax.money.convert.ConversionContext.Builder
-
Set the timestamp value.
- setTimestamp(Object) - Method in class javax.money.convert.ConversionContext.Builder
-
Set the timestamp value.
- setValidFrom(long) - Method in class javax.money.convert.ProviderContext.Builder
-
Set the starting range timestamp value.
- setValidFrom(Object) - Method in class javax.money.convert.ProviderContext.Builder
-
Set the starting range timestamp value.
- setValidTo(long) - Method in class javax.money.convert.ConversionContext.Builder
-
Set the ending period timestamp value.
- setValidTo(Object) - Method in class javax.money.convert.ConversionContext.Builder
-
Set the ending period timestamp value.
- setValidTo(long) - Method in class javax.money.convert.ProviderContext.Builder
-
Set the ending range timestamp value.
- setValidTo(Object) - Method in class javax.money.convert.ProviderContext.Builder
-
Set the ending range timestamp value.
- setZeroDigit(char) - Method in class javax.money.format.AmountFormatSymbols.Builder
-
Sets the character used for zero.
- signum() - Method in interface javax.money.MonetaryAmount
-
Returns the signum function of this MonetaryAmount
.
- stripTrailingZeros() - Method in interface javax.money.MonetaryAmount
-
Returns a MonetaryAmount
which is numerically equal to this one but with any trailing
zeros removed from the representation.
- subtract(MonetaryAmount) - Method in interface javax.money.MonetaryAmount
-
Returns a MonetaryAmount
whose value is (this -
amount)
, and whose scale is max(this.scale(),
subtrahend.scale())
.