RFR: 8196609: Improve javadoc for java.time.Instant.getEpochSecond
Daniel Fuchs
daniel.fuchs at oracle.com
Fri Feb 2 21:39:47 UTC 2018
Hi Martin,
Looks good to me!
cheers,
-- daniel
On 02/02/18 21:14, Martin Buchholz wrote:
> The nanos *are* hard to describe non-confusingly - resisting the urge to
> fix more globally.
>
> --- a/src/java.base/share/classes/java/time/Instant.java
> +++ b/src/java.base/share/classes/java/time/Instant.java
> @@ -610,7 +610,7 @@
> * <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
> */
>
More information about the core-libs-dev
mailing list