spring-framework / org.springframework.http.converter.json / Jackson2ObjectMapperFactoryBean / setDateFormat

setDateFormat

open fun setDateFormat(dateFormat: DateFormat): Unit

Define the format for date/time with the given DateFormat.

Note: Setting this property makes the exposed ObjectMapper non-thread-safe, according to Jackson's thread safety rules.

See Also
#setSimpleDateFormat(String)