< prev index next >

src/java.base/share/classes/java/time/Instant.java

Print this page
8196609: Improve javadoc for java.time.Instant.getEpochSecond
Reviewed-by:

@@ -608,11 +608,11 @@
     /**
      * Gets the number of seconds from the Java epoch of 1970-01-01T00:00:00Z.
      * <p>
      * The epoch second count is a simple incrementing count of seconds where
      * second 0 is 1970-01-01T00:00:00Z.
-     * The nanosecond part of the day is returned by {@link #getNano}.
+     * The nanosecond part is returned by {@link #getNano}.
      *
      * @return the seconds from the epoch of 1970-01-01T00:00:00Z
      */
     public long getEpochSecond() {
         return seconds;
< prev index next >