public class DefaultRoundingProvider extends Object implements javax.money.spi.RoundingProviderSpi
RoundingProviderSpi that creates instances of .javamoney.moneta.format.DefaultRounding that relies on the default fraction units defined by .Currency#getDefaultFractionDigits().| Constructor and Description |
|---|
DefaultRoundingProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getProviderName() |
javax.money.MonetaryRounding |
getRounding(javax.money.RoundingQuery roundingQuery)
Evaluate the rounding that match the given query.
|
Set<String> |
getRoundingNames() |
public DefaultRoundingProvider()
public String getProviderName()
getProviderName in interface javax.money.spi.RoundingProviderSpipublic javax.money.MonetaryRounding getRounding(javax.money.RoundingQuery roundingQuery)
getRounding in interface javax.money.spi.RoundingProviderSpipublic Set<String> getRoundingNames()
getRoundingNames in interface javax.money.spi.RoundingProviderSpiCopyright © 2012-2015 JavaMoney. All Rights Reserved.