/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | HijrahDateTest.java | 94 assertEquals(0, hijrahNow.until(isoNow, ChronoUnit.DAYS)); in until_isoDates() 95 assertEquals(0, hijrahNow.until(isoNow.atTime(10, 10), ChronoUnit.DAYS)); in until_isoDates() 104 assertEquals(-1, hijrahTomorrow.until(hijrahNow, ChronoUnit.DAYS)); in until_hijrahDates() 105 assertEquals(1, hijrahNow.until(HijrahDate.of(1442, 11, 14), ChronoUnit.MONTHS)); in until_hijrahDates() 115 hijrahNow.until(isoNow, ChronoUnit.HOURS); in until_isoDates_unsupportedTypes() 122 hijrahNow.until(Year.of(2021), ChronoUnit.YEARS); in until_isoDates_unsupportedTypes() 129 hijrahNow.until(Instant.ofEpochSecond(1622113481L), ChronoUnit.DAYS); in until_isoDates_unsupportedTypes()
|
D | ChronoZonedDateTimeTest.java | 115 public long until(Temporal endExclusive, TemporalUnit unit) { in until() method in ChronoZonedDateTimeTest.TestChronoZonedDateTime
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | Temporal.java | 447 long until(Temporal endExclusive, TemporalUnit unit); in until() method
|
D | ChronoUnit.java | 272 return temporal1Inclusive.until(temporal2Exclusive, this); in between()
|
D | IsoFields.java | 707 return temporal1Inclusive.until(temporal2Exclusive, this); in between() 714 return temporal1Inclusive.until(temporal2Exclusive, MONTHS) / 3; in between()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticDate.java | 300 public long until(Temporal endExclusive, TemporalUnit unit) { in until() method in CopticDate 303 return LocalDate.from(this).until(end, unit); // TODO: this is wrong in until() 309 public Period until(ChronoLocalDate endDate) { in until() method in CopticDate
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDate.java | 598 long until(Temporal endExclusive, TemporalUnit unit); in until() method 621 ChronoPeriod until(ChronoLocalDate endDateExclusive); in until() method
|
D | ChronoPeriod.java | 119 return startDateInclusive.until(endDateExclusive); in between()
|
D | ChronoLocalDateTimeImpl.java | 371 public long until(Temporal endExclusive, TemporalUnit unit) { in until() method in ChronoLocalDateTimeImpl 387 return Math.addExact(amount, time.until(end.toLocalTime(), unit)); in until() 393 return date.until(endDate, unit); in until()
|
D | MinguoDate.java | 426 public ChronoPeriod until(ChronoLocalDate endDate) { in until() method in MinguoDate 427 Period period = isoDate.until(endDate); in until()
|
D | ThaiBuddhistDate.java | 426 public ChronoPeriod until(ChronoLocalDate endDate) { in until() method in ThaiBuddhistDate 427 Period period = isoDate.until(endDate); in until()
|
D | ChronoZonedDateTimeImpl.java | 310 public long until(Temporal endExclusive, TemporalUnit unit) { in until() method in ChronoZonedDateTimeImpl 316 return dateTime.until(end.toLocalDateTime(), unit); in until()
|
D | JapaneseDate.java | 671 public ChronoPeriod until(ChronoLocalDate endDate) { in until() method in JapaneseDate 672 Period period = isoDate.until(endDate); in until()
|
D | ChronoLocalDateImpl.java | 376 public long until(Temporal endExclusive, TemporalUnit unit) { in until() method in ChronoLocalDateImpl
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKZonedDateTime.java | 2009 assertEquals(base.until(end, DAYS), expected); 2014 assertEquals(base.until(end, HOURS), expected); 2019 assertEquals(base.until(end, MINUTES), expected * 60); 2024 assertEquals(base.until(end, SECONDS), expected * 3600); 2029 assertEquals(base.until(end, NANOS), expected * 3600_000_000_000L); 2039 assertEquals(midnightLondon.until(midnightParis1, HOURS), 23); 2040 assertEquals(midnightLondon.until(oneAm1, HOURS), 24); 2041 assertEquals(midnightLondon.until(midnightParis2, HOURS), 23 + 24); 2043 assertEquals(midnightLondon.until(midnightParis1, DAYS), 0); 2044 assertEquals(midnightLondon.until(oneAm1, DAYS), 1); [all …]
|
D | TCKYear.java | 926 long amount = year1.until(year2, unit); in test_until_TemporalUnit() 932 long amount = year2.until(year1, unit); in test_until_TemporalUnit_negated() 946 assertEquals(start.until(end, YEARS), 2); in test_until_convertedType() 952 start.until(LocalTime.of(11, 30), YEARS); in test_until_invalidType() 957 TEST_2008.until(TEST_2008, MONTHS); in test_until_TemporalUnit_unsupportedUnit() 962 TEST_2008.until(null, DAYS); in test_until_TemporalUnit_nullEnd() 967 TEST_2008.until(TEST_2008, null); in test_until_TemporalUnit_nullUnit()
|
D | TCKLocalDate.java | 1731 long amount = date1.until(date2, unit); 1737 long amount = date2.until(date1, unit); 1751 assertEquals(start.until(end, DAYS), 2); 1757 start.until(LocalTime.of(11, 30), DAYS); 1762 TEST_2007_07_15.until(TEST_2007_07_15, HOURS); 1767 TEST_2007_07_15.until(null, DAYS); 1772 TEST_2007_07_15.until(TEST_2007_07_15, null); 1869 Period test = start.until(end); 1878 assertEquals(LocalDate.MIN.until(LocalDate.MAX), Period.of(years, 11, 30)); 1883 TEST_2007_07_15.until(null);
|
D | TCKInstant.java | 1811 long amount = i1.until(i2, unit); 1819 long amount = i2.until(i1, unit); 1835 assertEquals(start.until(end, SECONDS), 2); 1841 start.until(LocalTime.of(11, 30), SECONDS); 1846 TEST_12345_123456789.until(TEST_12345_123456789, MONTHS); 1851 TEST_12345_123456789.until(null, HOURS); 1856 TEST_12345_123456789.until(TEST_12345_123456789, null);
|
D | TCKYearMonth.java | 1250 long amount = ym1.until(ym2, unit); in test_until_TemporalUnit() 1256 long amount = ym2.until(ym1, unit); in test_until_TemporalUnit_negated() 1270 assertEquals(start.until(end, MONTHS), 2); in test_until_convertedType() 1276 start.until(LocalTime.of(11, 30), MONTHS); in test_until_invalidType() 1281 TEST_2008_06.until(TEST_2008_06, HOURS); in test_until_TemporalUnit_unsupportedUnit() 1286 TEST_2008_06.until(null, DAYS); in test_until_TemporalUnit_nullEnd() 1291 TEST_2008_06.until(TEST_2008_06, null); in test_until_TemporalUnit_nullUnit()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | OCSPResponse.java | 602 String until = ""; in verify() local 604 until = " until " + sr.nextUpdate; in verify() 607 sr.thisUpdate + until); in verify()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestUmmAlQuraChronology.java | 326 assertEquals(from.until(to, ChronoUnit.DAYS), days); in test_diffBetweenDates() 327 assertEquals(from.until(to, ChronoUnit.MONTHS), months); in test_diffBetweenDates() 328 assertEquals(from.until(to, ChronoUnit.YEARS), years); in test_diffBetweenDates() 346 ChronoPeriod period = h1.until(h2); in test_until() 354 ChronoPeriod period = h1.until(m); in test_periodUntilDiffChrono()
|
/libcore/ojluni/src/main/java/java/time/ |
D | ZonedDateTime.java | 2112 public long until(Temporal endExclusive, TemporalUnit unit) { in until() method in ZonedDateTime 2117 return dateTime.until(end.dateTime, unit); in until() 2119 return toOffsetDateTime().until(end.toOffsetDateTime(), unit); in until()
|
D | LocalDateTime.java | 1676 public long until(Temporal endExclusive, TemporalUnit unit) { in until() method in LocalDateTime 1682 return time.until(end.time, unit); in until() 1729 return date.until(endDate, unit); in until()
|
D | Duration.java | 469 return ofNanos(startInclusive.until(endExclusive, NANOS)); in between() 471 long secs = startInclusive.until(endExclusive, SECONDS); in between()
|
/libcore/ojluni/annotations/ |
D | README | 31 check in this change, it will have undesirable consequences until you
|