CurrencyUnit. The JSRs implementation already provides default
roundings. By registering instances of this interface using the
javax.money.spi.Bootstrap, the default behaviour can be
overridden and extended, e.g. for supporting also special roundings.
Implementations of this interface must be
| Modifier and Type | Method and Description |
|---|---|
| public default String | |
| public MonetaryRounding | Returns: the matching rounding instance, ornull.the rounding query. query)Evaluate the rounding that match the given query. |
| public Set | Returns: the ids of the defined roundings, nevernull.Access the ids of the roundings defined by this provider. |
| getProviderName | back to summary |
|---|---|
| public default String getProviderName() Get the provider's unique name.
| |
| getRounding | back to summary |
|---|---|
| public MonetaryRounding getRounding(RoundingQuery query) Evaluate the rounding that match the given query.
| |
| getRoundingNames | back to summary |
|---|---|
| public Set Access the ids of the roundings defined by this provider. | |