From ddddec87191e554d6e0f7b2d903af6f2ef9b03f8 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Sun, 30 Sep 2012 09:57:59 -0700 Subject: [PATCH] Corrected date pattern in JavaDocs The 'hh' pattern should be 'HH' as ISO dates use 24hr notation. --- .../springframework/format/annotation/DateTimeFormat.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 b09483274c..c5e526e8e0 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 @@ -82,13 +82,13 @@ public @interface DateTimeFormat { */ DATE, - /** - * The most common ISO Time Format hh:mm:ss.SSSZ e.g. 01:30:00.000-05:00. + /** + * The most common ISO Time Format HH:mm:ss.SSSZ e.g. 01:30:00.000-05:00. */ TIME, - /** - * The most common ISO DateTime Format yyyy-MM-dd'T'hh:mm:ss.SSSZ e.g. 2000-10-31 01:30:00.000-05:00. + /** + * The most common ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSZ e.g. 2000-10-31 01:30:00.000-05:00. * The default if no annotation value is specified. */ DATE_TIME,