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

CurrencyUnitFormatter

open class CurrencyUnitFormatter : Formatter<CurrencyUnit>

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

Author
Juergen Hoeller

Since
4.2

Constructors

<init>

CurrencyUnitFormatter()

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

Functions

parse

open fun parse(text: String, locale: Locale): CurrencyUnit

print

open fun print(object: CurrencyUnit, locale: Locale): String