spring-framework / org.springframework.format.datetime.joda / JodaTimeFormatterRegistrar / setDateFormatter

setDateFormatter

open fun setDateFormatter(formatter: DateTimeFormatter): Unit

Set the formatter that will be used for objects representing date values.

This formatter will be used for the LocalDate type. When specified the dateStyle and useIsoFormat properties will be ignored.

Parameters

formatter - the formatter to use

Since
3.2

See Also
#setTimeFormatter#setDateTimeFormatter