org.springframework.format.datetime.joda

## 类 ReadableInstantPrinter

- java.lang.Object
- - org.springframework.format.datetime.joda.ReadableInstantPrinter

- 所有已实现的接口:
    Printer<ReadableInstant>

      public final class ReadableInstantPrinter
      extends Object
      implements Printer<ReadableInstant>

  Prints Joda-Time `ReadableInstant` instances using a `DateTimeFormatter`.
  从以下版本开始:
    3.0
  作者:
    Keith Donald

- - ### 构造器概要

    构造器
    构造器和说明
    `ReadableInstantPrinter(DateTimeFormatter formatter)` Create a new ReadableInstantPrinter.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `print(ReadableInstant instant, Locale locale)` Print the object of type T for display.

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

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

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

    - #### ReadableInstantPrinter

          public ReadableInstantPrinter(DateTimeFormatter formatter)

      Create a new ReadableInstantPrinter.
      参数:
        `formatter` - the Joda DateTimeFormatter instance

  - ### 方法详细资料

    - #### print

          public String print(ReadableInstant instant,
                              Locale locale)

      从接口复制的说明: `Printer`
      Print the object of type T for display.
      指定者:
        `print` 在接口中 `Printer<ReadableInstant>`
      参数:
        `instant` - the instance to print
        `locale` - the current user locale
      返回:
        the printed text string