public interface MonetaryAmountProducer
FastMoneyProducer,
MoneyProducer,
RoundedMoneyProducer| Modifier and Type | Method and Description |
|---|---|
MonetaryAmount |
create(CurrencyUnit currency,
Number number)
|
MonetaryAmount create(CurrencyUnit currency, Number number)
currency - the currency, not null.number - the amount, not null.MonetaryAmount never nullNullPointerException - if currency and Number is nullCopyright © 2012–2020 JavaMoney. All rights reserved.