Searched refs:plusMillis (Results 1 – 6 of 6) sorted by relevance
109 assertSame(t.plusMillis(0), t); in plusMillis_zeroReturnsThis()115 assertSame(t.plusMillis(998), Duration.ZERO); in plusMillis_zeroSingleton()
849 case MILLIS: return plusMillis(amountToAdd); in plus()886 public Instant plusMillis(long millisToAdd) { in plusMillis() method in Instant1006 return plusMillis(Long.MAX_VALUE).plusMillis(1); in minusMillis()1008 return plusMillis(-millisToSubtract); in minusMillis()
706 case MILLIS: return plusMillis(amountToAdd); in plus()780 public Duration plusMillis(long millisToAdd) { in plusMillis() method in Duration926 …return (millisToSubtract == Long.MIN_VALUE ? plusMillis(Long.MAX_VALUE).plusMillis(1) : plusMillis… in minusMillis()
1066 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);
205 public java.time.Duration plusMillis(long millisToAdd) { in plusMillis() method in Duration
307 ZonedDateTime.ofInstant(Instant.ofEpochMilli(Long.MAX_VALUE).plusMillis(1), gmt), in test_fromZonedDateTime_invalidValues()