public class DefaultRoundingProvider extends Object implements 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() |
MonetaryRounding |
getRounding(RoundingQuery roundingQuery)
Evaluate the rounding that match the given query.
|
Set<String> |
getRoundingNames() |
public DefaultRoundingProvider()
public String getProviderName()
getProviderName in interface RoundingProviderSpipublic MonetaryRounding getRounding(RoundingQuery roundingQuery)
getRounding in interface RoundingProviderSpipublic Set<String> getRoundingNames()
getRoundingNames in interface RoundingProviderSpiCopyright © 2012–2020 JavaMoney. All rights reserved.