| java.lang.Object | |
| ↳ | org.springframework.format.datetime.joda.JodaTimeFormatterRegistrar |
Configures Joda Time's Formatting system for use with Spring.
setDateStyle(String)setTimeStyle(String)setDateTimeStyle(String)setUseIsoFormat(boolean)| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Register Formatters and Converters with a FormattingConversionService
through a FormatterRegistry SPI.
| |||||||||||
Set the default format style of Joda LocalDate objects.
| |||||||||||
Set the default format style of Joda LocalTime objects.
| |||||||||||
Set whether standard ISO formatting should be applied to all Date/Time types.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.format.FormatterRegistrar
| |||||||||||
Register Formatters and Converters with a FormattingConversionService through a FormatterRegistry SPI.
| registry | the FormatterRegistry instance to use. |
|---|
Set the default format style of Joda LocalDate objects. Default is DateTimeFormat#shortDate().
Set the default format style of Joda LocalTime objects. Default is DateTimeFormat#shortTime().
Set whether standard ISO formatting should be applied to all Date/Time types. Default is false (no). If set to true, the dateStyle, timeStyle, and dateTimeStyle properties are ignored.