Home
last modified time | relevance | path

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

/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/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.java706 case MILLIS: return plusMillis(amountToAdd); in plus()
780 public Duration plusMillis(long millisToAdd) { in plusMillis() method in Duration
926 …return (millisToSubtract == Long.MIN_VALUE ? plusMillis(Long.MAX_VALUE).plusMillis(1) : plusMillis in minusMillis()
/libcore/ojluni/src/test/java/time/tck/java/time/
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()