From a0fa326cb41098d52aa931b13c70c612a42e9b03 Mon Sep 17 00:00:00 2001 From: Joe Darcy Date: Mon, 1 Jul 2013 14:33:08 -0700 Subject: [PATCH] 8019535: Fix doclint issues in java.time.format Reviewed-by: lancea, rriggs --- jdk/src/share/classes/java/time/format/DateTimeFormatter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jdk/src/share/classes/java/time/format/DateTimeFormatter.java b/jdk/src/share/classes/java/time/format/DateTimeFormatter.java index 158c741dff4..2552f96e5ad 100644 --- a/jdk/src/share/classes/java/time/format/DateTimeFormatter.java +++ b/jdk/src/share/classes/java/time/format/DateTimeFormatter.java @@ -1304,6 +1304,7 @@ public final class DateTimeFormatter { * LocalTime time = parsed.query(LocalTime::from); * Period extraDays = parsed.query(DateTimeFormatter.parsedExcessDays()); * + * @return a query that provides access to the excess days that were parsed */ public static final TemporalQuery parsedExcessDays() { return PARSED_EXCESS_DAYS; @@ -1344,6 +1345,7 @@ public final class DateTimeFormatter { * // validate leap-second is correct and apply correct smoothing * } * + * @return a query that provides access to whether a leap-second was parsed */ public static final TemporalQuery parsedLeapSecond() { return PARSED_LEAP_SECOND;