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| 构造器和说明 |
|---|
DateTimeFormatterFactoryBean() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
DateTimeFormatter |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
createDateTimeFormatter, createDateTimeFormatter, setIso, setPattern, setStyle, setTimeZonepublic void afterPropertiesSet()
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBean@Nullable public DateTimeFormatter getObject()
getObject 在接口中 org.springframework.beans.factory.FactoryBean<DateTimeFormatter>public Class<?> getObjectType()
getObjectType 在接口中 org.springframework.beans.factory.FactoryBean<DateTimeFormatter>public boolean isSingleton()
isSingleton 在接口中 org.springframework.beans.factory.FactoryBean<DateTimeFormatter>