diff --git a/spring-context/src/main/java/org/springframework/format/annotation/DateTimeFormat.java b/spring-context/src/main/java/org/springframework/format/annotation/DateTimeFormat.java index 9063f52c750df9d3c0a24f83a6d03a348f0a2a46..612728c5ad116aaad1a91accda28334e3f34dd14 100644 --- a/spring-context/src/main/java/org/springframework/format/annotation/DateTimeFormat.java +++ b/spring-context/src/main/java/org/springframework/format/annotation/DateTimeFormat.java @@ -27,7 +27,7 @@ import java.lang.annotation.Target; * *

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. * *

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.