| Package | Description |
|---|---|
| org.javamoney.moneta |
Contains public core implementation artifacts, e.g.
|
| org.javamoney.moneta.spi |
Defines common base classes used for implementing SPIs and the
LoaderService. |
| Modifier and Type | Method and Description |
|---|---|
RoundedMoney |
RoundedMoney.abs() |
RoundedMoney |
RoundedMoney.add(MonetaryAmount amount) |
RoundedMoney |
RoundedMoney.divide(double divisor) |
RoundedMoney |
RoundedMoney.divide(long divisor) |
RoundedMoney |
RoundedMoney.divide(Number divisor) |
RoundedMoney[] |
RoundedMoney.divideAndRemainder(double divisor) |
RoundedMoney[] |
RoundedMoney.divideAndRemainder(long divisor) |
RoundedMoney[] |
RoundedMoney.divideAndRemainder(Number divisor) |
RoundedMoney |
RoundedMoney.divideToIntegralValue(double divisor) |
RoundedMoney |
RoundedMoney.divideToIntegralValue(long divisor) |
RoundedMoney |
RoundedMoney.divideToIntegralValue(Number divisor) |
static RoundedMoney |
RoundedMoney.from(MonetaryAmount amt) |
RoundedMoney |
RoundedMoney.multiply(double multiplicand) |
RoundedMoney |
RoundedMoney.multiply(long multiplicand) |
RoundedMoney |
RoundedMoney.multiply(Number multiplicand) |
RoundedMoney |
RoundedMoney.negate() |
static RoundedMoney |
RoundedMoney.of(BigDecimal number,
CurrencyUnit currency)
Translates a
BigDecimal value and a CurrencyUnit currency into a
Money. |
static RoundedMoney |
RoundedMoney.of(BigDecimal number,
CurrencyUnit currency,
MathContext mathContext)
Translates a
BigDecimal value and a CurrencyUnit currency into a
Money. |
static RoundedMoney |
RoundedMoney.of(BigDecimal number,
CurrencyUnit currency,
MonetaryOperator rounding)
Translates a
BigDecimal value and a CurrencyUnit currency into a
Money. |
static RoundedMoney |
RoundedMoney.of(CurrencyUnit currency,
Number number,
MonetaryContext monetaryContext,
MonetaryOperator rounding)
Deprecated.
|
static RoundedMoney |
RoundedMoney.of(Number number,
CurrencyUnit currency)
Deprecated.
|
static RoundedMoney |
RoundedMoney.of(Number number,
CurrencyUnit currency,
MonetaryContext monetaryContext)
Static factory method for creating a new instance of
RoundedMoney . |
static RoundedMoney |
RoundedMoney.of(Number number,
CurrencyUnit currency,
MonetaryOperator rounding)
Static factory method for creating a new instance of
RoundedMoney . |
static RoundedMoney |
RoundedMoney.of(Number number,
String currencyCode)
Deprecated.
|
static RoundedMoney |
RoundedMoney.of(Number number,
String currencyCode,
MonetaryContext monetaryContext)
Deprecated.
|
static RoundedMoney |
RoundedMoney.of(Number number,
String currencyCode,
MonetaryOperator rounding)
Static factory method for creating a new instance of
RoundedMoney . |
static RoundedMoney |
RoundedMoney.of(String currencyCode,
Number number,
MonetaryContext monetaryContext,
MonetaryOperator rounding)
Static factory method for creating a new instance of
RoundedMoney . |
static RoundedMoney |
RoundedMoney.ofMinor(CurrencyUnit currency,
long amountMinor)
Obtains an instance of
FastMoney from an amount in minor units. |
static RoundedMoney |
RoundedMoney.ofMinor(CurrencyUnit currency,
long amountMinor,
int factionDigits)
Obtains an instance of
Money from an amount in minor units. |
static RoundedMoney |
RoundedMoney.parse(CharSequence text)
Obtains an instance of RoundedMoney from a text string such as 'EUR
25.25'.
|
static RoundedMoney |
RoundedMoney.parse(CharSequence text,
MonetaryAmountFormat formatter)
Obtains an instance of FastMoney from a text using specific formatter.
|
RoundedMoney |
RoundedMoney.plus() |
RoundedMoney |
RoundedMoney.pow(int n) |
RoundedMoney |
RoundedMoney.remainder(double divisor) |
RoundedMoney |
RoundedMoney.remainder(long divisor) |
RoundedMoney |
RoundedMoney.remainder(Number divisor) |
RoundedMoney |
RoundedMoney.scaleByPowerOfTen(int n) |
RoundedMoney |
RoundedMoney.stripTrailingZeros() |
RoundedMoney |
RoundedMoney.subtract(MonetaryAmount subtrahend) |
RoundedMoney |
RoundedMoney.ulp() |
RoundedMoney |
RoundedMoney.with(CurrencyUnit currency)
Creates a new Money instance, by just replacing the
CurrencyUnit. |
RoundedMoney |
RoundedMoney.with(CurrencyUnit currency,
Number amount) |
RoundedMoney |
RoundedMoney.with(MonetaryOperator operator) |
RoundedMoney |
RoundedMoney.with(Number amount) |
static RoundedMoney |
RoundedMoney.zero(CurrencyUnit currency)
Obtains an instance of
RoundedMoney representing zero. |
| Modifier and Type | Method and Description |
|---|---|
MonetaryAmountFactory<RoundedMoney> |
RoundedMoney.getFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected RoundedMoney |
RoundedMoneyAmountFactory.create(Number number,
CurrencyUnit currency,
MonetaryContext monetaryContext) |
| Modifier and Type | Method and Description |
|---|---|
MonetaryAmountFactory<RoundedMoney> |
RoundedMoneyAmountFactoryProvider.createMonetaryAmountFactory() |
Class<RoundedMoney> |
RoundedMoneyAmountFactory.getAmountType() |
Class<RoundedMoney> |
RoundedMoneyAmountFactoryProvider.getAmountType() |
Copyright © 2012–2020 JavaMoney. All rights reserved.