Searched refs:plusMillis (Results 1 – 4 of 4) sorted by relevance
155 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()
165 …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()
140 public static FileTime plusMillis(final FileTime fileTime, final long millisToAdd) { in plusMillis() method in FileTimes141 return FileTime.from(fileTime.toInstant().plusMillis(millisToAdd)); in plusMillis()
137 deadline = Instant.now().plusMillis(timeoutSettings.timeoutMillis()); in setNextChunkTimeout()141 deadline = Instant.now().plusMillis(timeoutSettings.initialTimeoutMillis()); in setInitialTimeout()