| Package | Description |
|---|---|
| org.javamoney.moneta |
Contains public core implementation artifacts, e.g. implementations of
MonetaryAmount. |
| org.javamoney.moneta.internal |
Contains internal artifacts implementing
CurrencyProviderSpi, MonetaryAmountFactory,
MonetaryAmountFactoryProviderSpi and RoundingProviderSpi. |
| Modifier and Type | Method and Description |
|---|---|
Money |
Money.abs() |
Money |
Money.add(javax.money.MonetaryAmount amount) |
Money |
Money.divide(double divisor) |
Money |
Money.divide(long divisor) |
Money |
Money.divide(Number divisor) |
Money[] |
Money.divideAndRemainder(double divisor) |
Money[] |
Money.divideAndRemainder(long divisor) |
Money[] |
Money.divideAndRemainder(Number divisor) |
Money |
Money.divideToIntegralValue(double divisor) |
Money |
Money.divideToIntegralValue(long divisor) |
Money |
Money.divideToIntegralValue(Number divisor) |
static Money |
Money.from(javax.money.MonetaryAmount amt)
Converts (if necessary) the given
MonetaryAmount to a
Money instance. |
Money |
Money.multiply(double multiplicand) |
Money |
Money.multiply(long multiplicand) |
Money |
Money.multiply(Number multiplicand) |
Money |
Money.negate() |
static Money |
Money.of(javax.money.CurrencyUnit currency,
BigDecimal number)
Creates a new instance of
Money, using the default
MonetaryContext. |
static Money |
Money.of(javax.money.CurrencyUnit currency,
BigDecimal number,
javax.money.MonetaryContext monetaryContext)
Creates a new instance of
Money, using an explicit
MonetaryContext. |
static Money |
Money.of(javax.money.CurrencyUnit currency,
Number number)
Creates a new instance of
Money, using the default
MonetaryContext. |
static Money |
Money.of(javax.money.CurrencyUnit currency,
Number number,
javax.money.MonetaryContext monetaryContext)
Creates a new instance of
Money, using an explicit
MonetaryContext. |
static Money |
Money.of(String currencyCode,
BigDecimal number)
Static factory method for creating a new instance of
Money. |
static Money |
Money.of(String currencyCode,
BigDecimal number,
javax.money.MonetaryContext monetaryContext)
Static factory method for creating a new instance of
Money. |
static Money |
Money.of(String currencyCode,
Number number)
Static factory method for creating a new instance of
Money. |
static Money |
Money.of(String currencyCode,
Number number,
javax.money.MonetaryContext monetaryContext)
Static factory method for creating a new instance of
Money. |
Money |
Money.plus() |
Money |
Money.remainder(double divisor) |
Money |
Money.remainder(long divisor) |
Money |
Money.remainder(Number divisor) |
Money |
Money.scaleByPowerOfTen(int n) |
Money |
Money.stripTrailingZeros() |
Money |
Money.subtract(javax.money.MonetaryAmount subtrahend) |
Money |
Money.with(javax.money.MonetaryOperator operator) |
| Modifier and Type | Method and Description |
|---|---|
javax.money.MonetaryAmountFactory<Money> |
Money.getFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected Money |
MoneyAmountFactory.create(javax.money.CurrencyUnit currency,
Number number,
javax.money.MonetaryContext monetaryContext) |
| Modifier and Type | Method and Description |
|---|---|
javax.money.MonetaryAmountFactory<Money> |
MoneyAmountFactoryProvider.createMonetaryAmountFactory() |
Class<Money> |
MoneyAmountFactoryProvider.getAmountType() |
Class<Money> |
MoneyAmountFactory.getAmountType() |
Copyright © 2012-2014 JavaMoney. All Rights Reserved.