Searched refs:minusMillis (Results 1 – 8 of 8) sorted by relevance
137 Instant beforeTransitionTime = transitionTime.minusMillis(1); in testReadTimeZone_NegativeTransition()175 Instant beforeTransitionTime = transitionTime.minusMillis(1); in testReadTimeZone_PositiveTransition()220 zoneInfo = createZoneInfo(transitions, types, timeFromSeconds(-100).minusMillis(5)); in testReadTimeZone_HasFutureDST_NoPastDST_NegativeTransitions()253 zoneInfo = createZoneInfo(transitions, types, timeFromSeconds(6000).minusMillis(5)); in testReadTimeZone_HasFutureDST_NoPastDST_PositiveTransitions()333 Instant before32BitTime = timeFromSeconds(Integer.MIN_VALUE).minusMillis(1); in testReadTimeZone_Bug118835133_extraFirstTransition()410 timeFromSeconds(Integer.MAX_VALUE).minusMillis(1), in testReadTimeZone_Bug118835133_extraLastTransition()
157 assertSame(t.minusMillis(0), t); in minusMillis_zeroReturnsThis()163 assertSame(t.minusMillis(1002), Duration.ZERO); in minusMillis_zeroSingleton()
1997 t = t.minusMillis(amount); in minusMillis_long()2004 t = t.minusMillis(amount); in minusMillis_long_oneMore()2011 t = t.minusMillis(amount); in minusMillis_long_minusOneLess()2019 t = t.minusMillis(-1); in minusMillis_long_max()2027 t.minusMillis(-1); in minusMillis_long_overflowTooBig()2033 t = t.minusMillis(1); in minusMillis_long_min()2041 t.minusMillis(1); in minusMillis_long_overflowTooSmall()
1566 i = i.minusMillis(amount);1574 i = i.minusMillis(amount);1582 i = i.minusMillis(amount);1590 i = i.minusMillis(-1);1598 i.minusMillis(-1);1604 i = i.minusMillis(1);1612 i.minusMillis(1);
241 public java.time.Duration minusMillis(long millisToSubtract) { in minusMillis() method in Duration
308 ZonedDateTime.ofInstant(Instant.ofEpochMilli(Long.MIN_VALUE).minusMillis(1), gmt), in test_fromZonedDateTime_invalidValues()
1004 public Instant minusMillis(long millisToSubtract) { in minusMillis() method in Instant
923 public Duration minusMillis(long millisToSubtract) { in minusMillis() method in Duration