Browse Source

Polishing

See gh-26825
pull/26836/head
Sam Brannen 4 years ago
parent
commit
71158f4d96
  1. 2
      spring-context/src/main/java/org/springframework/format/annotation/DateTimeFormat.java

2
spring-context/src/main/java/org/springframework/format/annotation/DateTimeFormat.java

@ -27,7 +27,7 @@ import java.lang.annotation.Target; @@ -27,7 +27,7 @@ import java.lang.annotation.Target;
*
* <p>Supports formatting by style pattern, ISO date time pattern, or custom format pattern string.
* Can be applied to {@link java.util.Date}, {@link java.util.Calendar}, {@link Long} (for
* millisecond timestamps) as well as JSR-310 {@code java.time}.
* millisecond timestamps) as well as JSR-310 {@code java.time} value types.
*
* <p>For style-based formatting, set the {@link #style} attribute to the desired style pattern code.
* The first character of the code is the date style, and the second character is the time style.

Loading…
Cancel
Save