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

setFormatName

open fun setFormatName(formatName: String): Unit

Specify the format name, to be resolved by the JSR-354 provider at runtime.

Default is none, obtaining a MonetaryAmountFormat based on the current locale.