Home
last modified time | relevance | path

Searched refs:plusNanos (Results 1 – 3 of 3) sorted by relevance

/external/apache-commons-io/src/test/java/org/apache/commons/io/file/attribute/
DFileTimesTest.java172 …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()
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/attribute/
DFileTimes.java151 public static FileTime plusNanos(final FileTime fileTime, final long nanosToSubtract) { in plusNanos() method in FileTimes
152 return FileTime.from(fileTime.toInstant().plusNanos(nanosToSubtract)); in plusNanos()
/external/pigweed/pw_transfer/java/main/dev/pigweed/pw_transfer/
DTransfer.java145 deadline = Instant.now().plusNanos((long) timeoutMicros * 1000); in setTimeoutMicros()