Top Deprecated By Reference
Moneta (JSR 354 RI) 1.4.5

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.javamoney.moneta.Money.checkNoInfinityOrNaN(Number
the amount, not null.
number
)

Will be removed. Use

org.javamoney.moneta.Money.isInfinityAndNotNaN(Number
the amount, not null
number
)

Will be removed.

org.javamoney.moneta.RoundedMoney.of(Number
The numeric part, not null.
number
,
CurrencyUnit
The target currency, not null.
currency
)

Returns: A new instance of RoundedMoney.

org.javamoney.moneta.RoundedMoney.of(CurrencyUnit
The target currency, not null.
currency
,
Number
The numeric part, not null.
number
,
MonetaryContext
the MonetaryContext to be used.
monetaryContext
,
MonetaryOperator
The rounding to be applied.
rounding
)

Returns: A new instance of RoundedMoney.

org.javamoney.moneta.RoundedMoney.of(Number
The numeric part, not null.
number
,
String
The target currency as ISO currency code.
currencyCode
)

Returns: A new instance of RoundedMoney.

org.javamoney.moneta.RoundedMoney.of(Number
The numeric part, not null.
number
,
String
The target currency as ISO currency code.
currencyCode
,
MonetaryContext monetaryContext)

Returns: A new instance of RoundedMoney.

Returns:

the sort of MonetaryAmount using ExchangeRate
org.javamoney.moneta.function.MonetaryFunctions.sortValiable
(final ExchangeRateProvider
the rate provider to be used.
provider
)

call #sortValuable instead of.

org.javamoney.moneta.function.MonetaryFunctions.sortValiableDesc(final ExchangeRateProvider
the rate provider to be used.
provider
)

Use #sortValiableDesc instead of.

Returns:

the MonetarySummaryStatistics
org.javamoney.moneta.function.MonetaryFunctions.summarizingMonetary
(CurrencyUnit currencyUnit, ExchangeRateProvider
the rate provider
provider
)

Use #summarizingMonetary(CurrencyUnit) instead of.

Returns:

the corresponding BigDecimal
org.javamoney.moneta.spi.AbstractAmountFactory.getBigDecimal
(Number
the number type
num
)

will be removed in next release

Returns:

the corresponding BigDecimal
org.javamoney.moneta.spi.DefaultNumberValue.getBigDecimal
(Number
the number type
num
)

will be removed.

org.javamoney.moneta.spi.MonetaryConfig

Will be removed from the SPI. Implement and register an instance of MonetaryConfigProvider instead of.

org.javamoney.moneta.spi.loader.LoaderService.registerAndLoadData(String resourceId, LoaderService.UpdatePolicy updatePolicy, Map<String, String> properties, LoaderService.Listener listener, URI backupResource, URI... resourceLocations)

org.javamoney.moneta.spi.loader.LoaderService.registerData(String resourceId, LoaderService.UpdatePolicy updatePolicy, Map<String, String> properties, LoaderService.Listener listener, URI backupResource, URI... resourceLocations)

org.javamoney.moneta.spi.loader.urlconnection.URLConnectionLoaderService

Will be removed in favor of OkHttpLoaderService

Deprecated Reference Summary

SinceItem with Deprecated Reference and Description
org.javamoney.moneta.spi.MonetaryConfig.INSTANCE

MonetaryConfig is deprecated or references (maybe indirectly) at least one deprecated element.