Hi Arne,
The arguments to Instant.ofEpochSecond[1] are seconds and nanoseconds.
So 123400 nanoseconds is more clearly written as 000_123_400.
Regards, Roger
[1]
http://download.java.net/java/jdk9/docs/api/java/time/Instant.html#ofEpochSecond-long-long-
On 1/17/2017 3:07 PM, Arne Ploese wrot
Hi,
I'm runnig
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
and I encounter the following bug.
TestCase:
@Test
public void testNanos() {
DateTimeFormatter formatter =
DateTimeF