java.time.Instant.getEpochSeconds() javadocs still has a typo
Roger.Riggs at Oracle.com
Thu Feb 1 21:20:53 UTC 2018
Filed: 8196609 Improve javadoc for java.time.Instant.getEpochSecond
On 2/1/2018 3:46 PM, Kurt Alfred Kluever wrote:
> Hey folks,
> I had a quick question about the javadocs of this method. It looks like the
> `getNanosOfSecond` -> `getNano` mistake was fixed
> <https://bugs.openjdk.java.net/browse/JDK-8167166>, but the Java9 docs
> still claim that `getNano()` returns "the nanosecond part of the day"
> It should be "the nanosecond part of the *second*".
> (Apologies if this isn't the correct way to report things like this...)
More information about the core-libs-dev