public class DateTimeFormatterFactoryBean extends DateTimeFormatterFactory implements org.springframework.beans.factory.FactoryBean<DateTimeFormatter>, org.springframework.beans.factory.InitializingBean
FactoryBean that creates a Joda-Time DateTimeFormatter.
See the base class for configuration details.DateTimeFormatterFactory.setPattern(java.lang.String),
DateTimeFormatterFactory.setIso(org.springframework.format.annotation.DateTimeFormat.ISO),
DateTimeFormatterFactory.setStyle(java.lang.String),
DateTimeFormatterFactory| Constructor and Description |
|---|
DateTimeFormatterFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
DateTimeFormatter |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
createDateTimeFormatter, createDateTimeFormatter, setIso, setPattern, setStyle, setTimeZonepublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic DateTimeFormatter getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<DateTimeFormatter>public java.lang.Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<DateTimeFormatter>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<DateTimeFormatter>