Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/libcore/util/
DZoneInfoTest.java137 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()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestDuration.java157 assertSame(t.minusMillis(0), t); in minusMillis_zeroReturnsThis()
163 assertSame(t.minusMillis(1002), Duration.ZERO); in minusMillis_zeroSingleton()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java1997 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()
DTCKInstant.java1566 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);
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java241 public java.time.Duration minusMillis(long millisToSubtract) { in minusMillis() method in Duration
/libcore/luni/src/test/java/libcore/java/util/
DGregorianCalendarTest.java308 ZonedDateTime.ofInstant(Instant.ofEpochMilli(Long.MIN_VALUE).minusMillis(1), gmt), in test_fromZonedDateTime_invalidValues()
/libcore/ojluni/src/main/java/java/time/
DInstant.java1004 public Instant minusMillis(long millisToSubtract) { in minusMillis() method in Instant
DDuration.java923 public Duration minusMillis(long millisToSubtract) { in minusMillis() method in Duration