@Deprecated public class DefaultMonetaryRoundedFactory extends Object implements MonetaryRoundedFactory, MonetaryRoundedFactory
MonetaryRoundedFactory, this implementation returns the RoundedMoney.MonetaryRoundedFactory#create(Number, CurrencyUnit)}| Constructor and Description |
|---|
DefaultMonetaryRoundedFactory(javax.money.MonetaryOperator roundingOperator)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
javax.money.MonetaryAmount |
create(Number number,
javax.money.CurrencyUnit currencyUnit)
Deprecated.
Create a
MonetaryAmount with Number, CurrencyUnit and
the MonetaryOperator as rounding operator given in this factory with the
MonetaryRoundedFactory.getRoundingOperator(). |
javax.money.MonetaryOperator |
getRoundingOperator()
Deprecated.
return the
MonetaryOperator as rounding operator |
String |
toString()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitof, of, withRoundingModeof, of, withRoundingModepublic DefaultMonetaryRoundedFactory(javax.money.MonetaryOperator roundingOperator)
public javax.money.MonetaryAmount create(Number number, javax.money.CurrencyUnit currencyUnit)
MonetaryRoundedFactoryMonetaryAmount with Number, CurrencyUnit and
the MonetaryOperator as rounding operator given in this factory with the
MonetaryRoundedFactory.getRoundingOperator(). The implementation will RoundedMoneycreate in interface MonetaryRoundedFactoryMonetaryAmount from number and CurrencyUnitpublic javax.money.MonetaryOperator getRoundingOperator()
MonetaryRoundedFactoryMonetaryOperator as rounding operatorgetRoundingOperator in interface MonetaryRoundedFactoryCopyright © 2012-2016 JavaMoney. All Rights Reserved.