Home
last modified time | relevance | path

Searched refs:plusMillis (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/
DZoneInfoDataTest.java155 Instant afterTransitionTime = transitionTime.plusMillis(1); in testReadTimeZone_NegativeTransition()
197 Instant afterTransitionTime = transitionTime.plusMillis(1); in testReadTimeZone_PositiveTransition()
237 Instant afterTransitionTime = transitionTime.plusMillis(1); in testCreateInstance()
324 assertNoDSTSavings(zoneInfoData, timeFromSeconds(-2000).plusMillis(5)); in testReadTimeZone_HasPastDST_NoFutureDST_NegativeTransitions()
349 assertNoDSTSavings(zoneInfoData, timeFromSeconds(4000).plusMillis(5)); in testReadTimeZone_HasPastDST_NoFutureDST_PositiveTransitions()
366 timeFromSeconds(Integer.MIN_VALUE).plusMillis(1), in testReadTimeZone_Bug118835133_extraFirstTransition()
435 timeFromSeconds(Integer.MAX_VALUE).plusMillis(1), in testReadTimeZone_Bug118835133_extraLastTransition()
/external/apache-commons-io/src/test/java/org/apache/commons/io/file/attribute/
DFileTimesTest.java165 …assertEquals(Instant.EPOCH.plusMillis(millis), FileTimes.plusMillis(FileTimes.EPOCH, millis).toIns… in testPlusMinusMillis()
166 assertEquals(Instant.EPOCH, FileTimes.plusMillis(FileTimes.EPOCH, 0).toInstant()); in testPlusMinusMillis()
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/attribute/
DFileTimes.java140 public static FileTime plusMillis(final FileTime fileTime, final long millisToAdd) { in plusMillis() method in FileTimes
141 return FileTime.from(fileTime.toInstant().plusMillis(millisToAdd)); in plusMillis()
/external/pigweed/pw_transfer/java/main/dev/pigweed/pw_transfer/
DTransfer.java137 deadline = Instant.now().plusMillis(timeoutSettings.timeoutMillis()); in setNextChunkTimeout()
141 deadline = Instant.now().plusMillis(timeoutSettings.initialTimeoutMillis()); in setInitialTimeout()