Searched refs:plusNanos (Results 1 – 3 of 3) sorted by relevance
172 …assertEquals(Instant.EPOCH.plusNanos(millis), FileTimes.plusNanos(FileTimes.EPOCH, millis).toInsta… in testPlusNanos()173 assertEquals(Instant.EPOCH, FileTimes.plusNanos(FileTimes.EPOCH, 0).toInstant()); in testPlusNanos()
151 public static FileTime plusNanos(final FileTime fileTime, final long nanosToSubtract) { in plusNanos() method in FileTimes152 return FileTime.from(fileTime.toInstant().plusNanos(nanosToSubtract)); in plusNanos()
145 deadline = Instant.now().plusNanos((long) timeoutMicros * 1000); in setTimeoutMicros()