javax.money.spi.RoundingProviderSpi that creates instances of .javamoney.moneta.format.DefaultRounding that relies on the default fraction units defined by .Currency#getDefaultFractionDigits() .
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getProviderName()
Overrides default javax. Get the provider's unique name. |
| public MonetaryRounding | Returns: the (shared) default rounding instances matching, never null.Implements javax. Evaluate the rounding that match the given query. |
| public Set | getRoundingNames()
Implements javax. Access the ids of the roundings defined by this provider. |
| DEFAULT_ROUNDING_NAME | back to summary |
|---|---|
| private static final String DEFAULT_ROUNDING_NAME | |
| roundingsNames | back to summary |
|---|---|
| private Set<String> roundingsNames | |
| DefaultRoundingProvider | back to summary |
|---|---|
| public DefaultRoundingProvider() | |
| getProviderName | back to summary |
|---|---|
| public String getProviderName() Overrides default javax. Doc from javax. Get the provider's unique name.
| |
| getRounding | back to summary |
|---|---|
| public MonetaryRounding getRounding(RoundingQuery roundingQuery) Implements javax. Evaluate the rounding that match the given query.
| |
| getRoundingNames | back to summary |
|---|---|
| public Set Implements javax. Doc from javax. Access the ids of the roundings defined by this provider.
| |