クラス TemporalAccessorPrinter

java.lang.ObjectSE
org.springframework.format.datetime.standard.TemporalAccessorPrinter
実装されたすべてのインターフェース:
Printer<TemporalAccessorSE>

public final class TemporalAccessorPrinter extends ObjectSE implements Printer<TemporalAccessorSE>
DateTimeFormatterSE を使用した JSR-310 TemporalAccessorSEPrinter 実装(使用可能な場合はコンテキスト 1)。
導入:
4.0
作成者:
Juergen Hoeller
関連事項:
  • コンストラクターの詳細

    • TemporalAccessorPrinter

      public TemporalAccessorPrinter(DateTimeFormatterSE formatter)
      新しい TemporalAccessorPrinter を作成します。
      パラメーター:
      formatter - 基本 DateTimeFormatter インスタンス
  • メソッドの詳細

    • print

      public StringSE print(TemporalAccessorSE partial, LocaleSE locale)
      インターフェースからコピーされた説明: Printer
      型 T のオブジェクトを表示用に出力します。
      次で指定:
      インターフェース Printer<TemporalAccessorSE>print 
      パラメーター:
      partial - 出力するインスタンス
      locale - 現在のユーザーロケール
      戻り値:
      出力されたテキスト文字列