Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/libcore/util/
DZoneInfoTest.java146 Instant afterTransitionTime = transitionTime.plusMillis(1); in testReadTimeZone_NegativeTransition()
184 Instant afterTransitionTime = transitionTime.plusMillis(1); in testReadTimeZone_PositiveTransition()
282 zoneInfo = createZoneInfo(transitions, types, timeFromSeconds(-2000).plusMillis(5)); in testReadTimeZone_HasPastDST_NoFutureDST_NegativeTransitions()
311 zoneInfo = createZoneInfo(transitions, types, timeFromSeconds(4000).plusMillis(5)); in testReadTimeZone_HasPastDST_NoFutureDST_PositiveTransitions()
338 timeFromSeconds(Integer.MIN_VALUE).plusMillis(1), in testReadTimeZone_Bug118835133_extraFirstTransition()
412 timeFromSeconds(Integer.MAX_VALUE).plusMillis(1), in testReadTimeZone_Bug118835133_extraLastTransition()
/libcore/ojluni/src/main/java/java/time/
DInstant.java849 case MILLIS: return plusMillis(amountToAdd); in plus()
886 public Instant plusMillis(long millisToAdd) { in plusMillis() method in Instant
1006 return plusMillis(Long.MAX_VALUE).plusMillis(1); in minusMillis()
1008 return plusMillis(-millisToSubtract); in minusMillis()
DDuration.java704 case MILLIS: return plusMillis(amountToAdd); in plus()
778 public Duration plusMillis(long millisToAdd) { in plusMillis() method in Duration
924 …return (millisToSubtract == Long.MIN_VALUE ? plusMillis(Long.MAX_VALUE).plusMillis(1) : plusMillis in minusMillis()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestDuration.java109 assertSame(t.plusMillis(0), t); in plusMillis_zeroReturnsThis()
115 assertSame(t.plusMillis(998), Duration.ZERO); in plusMillis_zeroSingleton()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java1378 t = t.plusMillis(amount); in plusMillis_long()
1385 t = t.plusMillis(amount); in plusMillis_long_oneMore()
1392 t = t.plusMillis(amount); in plusMillis_long_minusOneLess()
1400 t = t.plusMillis(1); in plusMillis_long_max()
1408 t.plusMillis(1); in plusMillis_long_overflowTooBig()
1414 t = t.plusMillis(-1); in plusMillis_long_min()
1422 t.plusMillis(-1); in plusMillis_long_overflowTooSmall()
DTCKInstant.java1066 t = t.plusMillis(amount);
1073 t = t.plusMillis(amount);
1080 t = t.plusMillis(amount);
1088 t = t.plusMillis(1);
1096 t.plusMillis(1);
1102 t = t.plusMillis(-1);
1110 t.plusMillis(-1);
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java205 public java.time.Duration plusMillis(long millisToAdd) { in plusMillis() method in Duration
/libcore/luni/src/test/java/libcore/java/util/
DGregorianCalendarTest.java307 ZonedDateTime.ofInstant(Instant.ofEpochMilli(Long.MAX_VALUE).plusMillis(1), gmt), in test_fromZonedDateTime_invalidValues()