Module java.money
Package javax.money.format
package javax.money.format
Money and Currency format API. In more detail:
- JSR 354 defines a minimal
MonetaryAmountFormatthat adopts existing formatting functionality, such as injavax.text.DecimalFormat. - Some of the functionality from
javax.text.DecimalFormatare remodeled, to be platform independent. Nevertheless the reference implementation may be built on top of existing JDK functionality. - Additionally it adds customizable grouping sizes and characters as well as additional (extensible) currency formatting capabilities.
-
ClassDescriptionThe
AmountFormatContextprovides details about aMonetaryAmountFormat.Builder class for creating new instances ofAmountFormatContextadding detailed information about aMonetaryAmountFormatinstance.Query for accessing instances ofMonetaryAmountFormat.Builder for queries for accessing/configuringMonetaryAmountFormatinstances.This class models the singleton accessor forMonetaryAmountFormatinstances.This class models the singleton accessor forMonetaryAmountFormatinstances.Signals that an error has been reached unexpectedly while parsing.