From 9057c75425963568fc5cb075f12342eeff94bb80 Mon Sep 17 00:00:00 2001 From: Abhijit Roy Date: Wed, 23 Mar 2016 19:57:42 +0530 Subject: [PATCH] 8151868: Typo in java.time.Instant until(Temporal endExclusive, TemporalUnit unit) Reviewed-by: rriggs, lancea, scolebourne --- jdk/src/java.base/share/classes/java/time/Instant.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/src/java.base/share/classes/java/time/Instant.java b/jdk/src/java.base/share/classes/java/time/Instant.java index f49c3b7a506..75ed2c32039 100644 --- a/jdk/src/java.base/share/classes/java/time/Instant.java +++ b/jdk/src/java.base/share/classes/java/time/Instant.java @@ -1106,7 +1106,7 @@ public final class Instant * complete units between the two instants. * The {@code Temporal} passed to this method is converted to a * {@code Instant} using {@link #from(TemporalAccessor)}. - * For example, the amount in days between two dates can be calculated + * For example, the amount in seconds between two dates can be calculated * using {@code startInstant.until(endInstant, SECONDS)}. *

* There are two equivalent ways of using this method.