Package | Description |
---|---|
javax.money |
Main package of the Money and Currency API.
|
javax.money.spi |
SPI interfaces of the Money and Currency API, including bootstrap logic.
|
Modifier and Type | Method and Description |
---|---|
static MonetaryRounding |
Monetary.getDefaultRounding()
Creates a rounding that can be added as
MonetaryOperator to
chained calculations. |
static MonetaryRounding |
Monetary.getRounding(CurrencyUnit currencyUnit,
String... providers)
Creates an
MonetaryOperator for rounding MonetaryAmount
instances given a currency. |
static MonetaryRounding |
Monetary.getRounding(RoundingQuery roundingQuery)
Access a
MonetaryRounding using a possibly complex query. |
static MonetaryRounding |
Monetary.getRounding(String roundingName,
String... providers)
Access an
MonetaryOperator for custom rounding
MonetaryAmount instances. |
Modifier and Type | Method and Description |
---|---|
static Collection<MonetaryRounding> |
Monetary.getRoundings(RoundingQuery roundingQuery)
Access multiple
MonetaryRounding instances using a possibly complex query |
Modifier and Type | Method and Description |
---|---|
MonetaryRounding |
MonetaryRoundingsSingletonSpi.getDefaultRounding()
Creates a
MonetaryRounding that can be added as MonetaryOperator to
chained calculations. |
default MonetaryRounding |
MonetaryRoundingsSingletonSpi.getRounding(CurrencyUnit currencyUnit,
String... providers)
Access a
MonetaryRounding for rounding MonetaryAmount
instances given a currency. |
MonetaryRounding |
RoundingProviderSpi.getRounding(RoundingQuery query)
Evaluate the rounding that match the given query.
|
default MonetaryRounding |
MonetaryRoundingsSingletonSpi.getRounding(RoundingQuery query)
Query a specific rounding with the given query.
|
default MonetaryRounding |
MonetaryRoundingsSingletonSpi.getRounding(String roundingName,
String... providers)
Access a
MonetaryRounding using the rounding name. |
Modifier and Type | Method and Description |
---|---|
Collection<MonetaryRounding> |
MonetaryRoundingsSingletonSpi.getRoundings(RoundingQuery query)
Execute a query for
MonetaryRounding . |
Copyright © 2012–2016 JSR 354 - Expert Group. All rights reserved.