Class DateTimeFormatterFactoryBean

java.lang.Object
org.springframework.format.datetime.standard.DateTimeFormatterFactory
org.springframework.format.datetime.standard.DateTimeFormatterFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<DateTimeFormatter>, org.springframework.beans.factory.InitializingBean

public class DateTimeFormatterFactoryBean extends DateTimeFormatterFactory implements org.springframework.beans.factory.FactoryBean<DateTimeFormatter>, org.springframework.beans.factory.InitializingBean
FactoryBean that creates a JSR-310 DateTimeFormatter. See the base class for configuration details.
Since:
4.0
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • DateTimeFormatterFactoryBean

      public DateTimeFormatterFactoryBean()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • getObject

      @Nullable public DateTimeFormatter getObject()
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<DateTimeFormatter>
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<DateTimeFormatter>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<DateTimeFormatter>