アノテーションインターフェースの使用
org.springframework.format.annotation.DateTimeFormat
パッケージ
説明
java.util.Date
プロパティのフォーマッタ。JDK 8 の JSR-310
java.time
パッケージとの統合。org.springframework.format.datetime 内の DateTimeFormat 使用
修飾子と型メソッド説明DateTimeFormatAnnotationFormatterFactory.getFormatter
(DateTimeFormat annotation, ClassSE<?> fieldType) Parser<?>
DateTimeFormatAnnotationFormatterFactory.getParser
(DateTimeFormat annotation, ClassSE<?> fieldType) Printer<?>
DateTimeFormatAnnotationFormatterFactory.getPrinter
(DateTimeFormat annotation, ClassSE<?> fieldType) org.springframework.format.datetime.standard 内の DateTimeFormat 使用
修飾子と型メソッド説明protected DateTimeFormatterSE
Jsr310DateTimeFormatAnnotationFormatterFactory.getFormatter
(DateTimeFormat annotation, ClassSE<?> fieldType) DateTimeFormatter
SE の作成に使用されるファクトリメソッド。Parser<?>
Jsr310DateTimeFormatAnnotationFormatterFactory.getParser
(DateTimeFormat annotation, ClassSE<?> fieldType) Printer<?>
Jsr310DateTimeFormatAnnotationFormatterFactory.getPrinter
(DateTimeFormat annotation, ClassSE<?> fieldType)