DateFormatterRegistrar()
Configures basic date formatting for use with Spring, primarily for org.springframework.format.annotation.DateTimeFormat declarations. Applies to fields of type Date, Calendar and long.
Designed for direct instantiation but also exposes the static #addDateConverters(ConverterRegistry) utility method for ad-hoc use against any ConverterRegistry instance.
Author
Phillip Webb
Since
3.2
See Also
org.springframework.format.datetime.standard.DateTimeFormatterRegistrarorg.springframework.format.datetime.joda.JodaTimeFormatterRegistrarFormatterRegistrar#registerFormatters