changeset 13944:403329bd6983

8151868: Typo in java.time.Instant until(Temporal endExclusive, TemporalUnit unit) Reviewed-by: rriggs, lancea, scolebourne Contributed-by: Abhijit Roy <abhijit.r.roy@oracle.com>
author rriggs
date Wed, 23 Mar 2016 19:57:42 +0530
parents 3e254419b9fa
children 6d9aebccd145
files src/java.base/share/classes/java/time/Instant.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/time/Instant.java	Wed Mar 23 12:25:08 2016 +0000
+++ b/src/java.base/share/classes/java/time/Instant.java	Wed Mar 23 19:57:42 2016 +0530
@@ -1106,7 +1106,7 @@
      * 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)}.
      * <p>
      * There are two equivalent ways of using this method.