spring-framework / org.springframework.format.datetime / DateFormatter / setStyle

setStyle

open fun setStyle(style: Int): Unit

Set the style to use to format date values.

If not specified, DateFormat's default style will be used.

See Also
DateFormat#DEFAULTDateFormat#SHORTDateFormat#MEDIUMDateFormat#LONGDateFormat#FULL