spring-framework / org.springframework.format.number.money

Package org.springframework.format.number.money

Types

CurrencyUnitFormatter

open class CurrencyUnitFormatter : Formatter<CurrencyUnit>

Formatter for JSR-354 javax.money.CurrencyUnit values, from and to currency code Strings.

Jsr354NumberFormatAnnotationFormatterFactory

open class Jsr354NumberFormatAnnotationFormatterFactory : EmbeddedValueResolutionSupport, AnnotationFormatterFactory<NumberFormat>

Formats javax.money.MonetaryAmount fields annotated with Spring's common NumberFormat annotation.

MonetaryAmountFormatter

open class MonetaryAmountFormatter : Formatter<MonetaryAmount>

Formatter for JSR-354 javax.money.MonetaryAmount values, delegating to javax.money.format.MonetaryAmountFormat#format and javax.money.format.MonetaryAmountFormat#parse.