org.springframework.format.datetime.standard

## 类 DateTimeFormatterFactoryBean

- java.lang.Object
- - org.springframework.format.datetime.standard.DateTimeFormatterFactory
  - - org.springframework.format.datetime.standard.DateTimeFormatterFactoryBean

- 所有已实现的接口:
    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.
  从以下版本开始:
    4.0
  作者:
    Juergen Hoeller
  另请参阅:
    `DateTimeFormatterFactory.setPattern(java.lang.String)`, `DateTimeFormatterFactory.setIso(org.springframework.format.annotation.DateTimeFormat.ISO)`, `DateTimeFormatterFactory.setDateStyle(java.time.format.FormatStyle)`, `DateTimeFormatterFactory.setTimeStyle(java.time.format.FormatStyle)`, `DateTimeFormatterFactory`

- - ### 构造器概要

    构造器
    构造器和说明
    `DateTimeFormatterFactoryBean()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `afterPropertiesSet()`
    `DateTimeFormatter` | `getObject()`
    `Class<?>` | `getObjectType()`
    `boolean` | `isSingleton()`

    - ### 从类继承的方法 org.springframework.format.datetime.standard.DateTimeFormatterFactory

      `createDateTimeFormatter, createDateTimeFormatter, setDateStyle, setDateTimeStyle, setIso, setPattern, setStylePattern, setTimeStyle, setTimeZone`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### DateTimeFormatterFactoryBean

          public DateTimeFormatterFactoryBean()

  - ### 方法详细资料

    - #### afterPropertiesSet

          public void afterPropertiesSet()

      指定者:
        `afterPropertiesSet` 在接口中 `org.springframework.beans.factory.InitializingBean`

    - #### getObject

          @Nullable
          public DateTimeFormatter getObject()

      指定者:
        `getObject` 在接口中 `org.springframework.beans.factory.FactoryBean<DateTimeFormatter>`

    - #### getObjectType

          public Class<?> getObjectType()

      指定者:
        `getObjectType` 在接口中 `org.springframework.beans.factory.FactoryBean<DateTimeFormatter>`

    - #### isSingleton

          public boolean isSingleton()

      指定者:
        `isSingleton` 在接口中 `org.springframework.beans.factory.FactoryBean<DateTimeFormatter>`