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

setTimeFormatter

open fun setTimeFormatter(formatter: DateTimeFormatter): Unit

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

This formatter will be used for the LocalTime type. When specified the timeStyle and useIsoFormat properties will be ignored.

Parameters

formatter - the formatter to use

Since
3.2

See Also
#setDateFormatter#setDateTimeFormatter