Package | Description |
---|---|
org.javamoney.moneta |
Platform RI: Defines the core/platform API and contains essential implementing classes.
|
Modifier and Type | Method and Description |
---|---|
Money |
Money.abs() |
Money |
Money.add(javax.money.MonetaryAmount amount) |
Money |
Money.divide(javax.money.MonetaryAmount divisor) |
Money |
Money.divide(Number divisor) |
Money[] |
Money.divideAndRemainder(javax.money.MonetaryAmount divisor) |
Money[] |
Money.divideAndRemainder(Number divisor) |
Money |
Money.divideToIntegralValue(javax.money.MonetaryAmount divisor) |
Money |
Money.divideToIntegralValue(Number divisor) |
static Money |
Money.from(javax.money.MonetaryAmount amt) |
Money |
Money.multiply(javax.money.MonetaryAmount multiplicand) |
Money |
Money.multiply(Number multiplicand) |
Money |
Money.negate() |
static Money |
Money.of(javax.money.CurrencyUnit currency,
BigDecimal number)
Translates a
BigDecimal value and a CurrencyUnit currency
into a Money . |
static Money |
Money.of(javax.money.CurrencyUnit currency,
BigDecimal number,
MathContext mathContext)
Translates a
BigDecimal value and a CurrencyUnit currency
into a Money . |
static Money |
Money.of(javax.money.CurrencyUnit currency,
Number number)
Static factory method for creating a new instance of
Money . |
static Money |
Money.of(javax.money.CurrencyUnit currency,
Number number,
MathContext mathContext)
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,
MathContext mathContext)
Static factory method for creating a new instance of
Money . |
static Money |
Money.ofZero(javax.money.CurrencyUnit currency)
Factory method creating a zero instance with the given {@code currency);
|
static Money |
Money.ofZero(String currency)
Factory method creating a zero instance with the given {@code currency);
|
Money |
Money.plus() |
Money |
Money.pow(int n) |
Money |
Money.remainder(javax.money.MonetaryAmount divisor) |
Money |
Money.remainder(Number divisor) |
Money |
Money.scaleByPowerOfTen(int n) |
Money |
Money.subtract(javax.money.MonetaryAmount subtrahend) |
Money |
Money.ulp() |
Money |
Money.with(javax.money.CurrencyUnit currency)
Creates a new Money instance, by just replacing the
CurrencyUnit . |
Money |
Money.with(javax.money.CurrencyUnit currency,
Number amount)
Creates a new Money instance, by just replacing the
CurrencyUnit
and the numeric amount. |
Money |
Money.with(MathContext context)
Creates a new Money instance, hereby changing the
MathContext to
be used. |
Money |
Money.with(javax.money.MonetaryAdjuster adjuster) |
Money |
Money.with(Number amount) |
Money |
Money.withMathContext(MathContext mathContext)
Allows to change the
MathContext . |
Copyright © 2012–2013 JSR 354 - Expert Group. All rights reserved.