MonetaryAmount instance.
| Modifier and Type | Field and Description |
|---|---|
| private static final MonetaryRounding |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public MonetaryAmount | Returns: the major units part of the amount, nevernullImplements javax. Gets the amount in major units as a |
| DOWN_ROUNDING | back to summary |
|---|---|
| private static final MonetaryRounding DOWN_ROUNDING | |
| ExtractorMajorPartOperator | back to summary |
|---|---|
| pack-priv ExtractorMajorPartOperator() Access the shared instance of | |
| apply | back to summary |
|---|---|
| public MonetaryAmount apply(MonetaryAmount amount) Implements javax. Gets the amount in major units as a This returns the monetary amount in terms of the major units of the currency, truncating the amount if necessary. For example, 'EUR 2.35' will return 'EUR 2', and 'BHD -1.345' will return 'BHD -1'.
This is returned as a
| |