/libcore/ojluni/src/main/java/java/time/temporal/ |
H A D | Temporal.java | 375 * Calculates the amount of time until another temporal in terms of the specified unit. 383 * calculated using {@code startTime.until(endTime, HOURS)}. 395 * temporal = start.until(end, unit); 403 * long daysBetween = start.until(end, DAYS); 447 long until(Temporal endExclusive, TemporalUnit unit); method in interface:Temporal
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
H A D | CopticDate.java | 300 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:CopticDate 303 return LocalDate.from(this).until(end, unit); // TODO: this is wrong 309 public Period until(ChronoLocalDate endDate) { method in class:CopticDate
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
H A D | ChronoLocalDate.java | 552 * Calculates the amount of time until another date in terms of the specified unit. 563 * using {@code startDate.until(endDate, DAYS)}. 570 * amount = start.until(end, MONTHS); 598 long until(Temporal endExclusive, TemporalUnit unit); method in interface:ChronoLocalDate 621 ChronoPeriod until(ChronoLocalDate endDateExclusive); method in interface:ChronoLocalDate
|
H A D | ChronoLocalDateImpl.java | 376 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:ChronoLocalDateImpl
|
H A D | ChronoLocalDateTimeImpl.java | 371 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:ChronoLocalDateTimeImpl 387 return Math.addExact(amount, time.until(end.toLocalTime(), unit)); 393 return date.until(endDate, unit);
|
H A D | ChronoZonedDateTimeImpl.java | 310 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:ChronoZonedDateTimeImpl 316 return dateTime.until(end.toLocalDateTime(), unit);
|
H A D | MinguoDate.java | 426 public ChronoPeriod until(ChronoLocalDate endDate) { method in class:MinguoDate 427 Period period = isoDate.until(endDate);
|
H A D | ThaiBuddhistDate.java | 426 public ChronoPeriod until(ChronoLocalDate endDate) { method in class:ThaiBuddhistDate 427 Period period = isoDate.until(endDate);
|
H A D | HijrahDate.java | 587 public ChronoPeriod until(ChronoLocalDate endDate) { method in class:HijrahDate
|
H A D | JapaneseDate.java | 671 public ChronoPeriod until(ChronoLocalDate endDate) { method in class:JapaneseDate 672 Period period = isoDate.until(endDate);
|
/libcore/ojluni/src/main/java/java/time/ |
H A D | Instant.java | 166 * For the segment from 1972-11-03 (exact boundary discussed below) until 1093 * Calculates the amount of time until another instant in terms of the specified unit. 1104 * using {@code startInstant.until(endInstant, SECONDS)}. 1111 * amount = start.until(end, SECONDS); 1137 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:Instant
|
H A D | Year.java | 108 * modern Gregorian/ISO rules until 1920. 860 * Calculates the amount of time until another year in terms of the specified unit. 869 * using {@code startYear.until(endYear, DECADES)}. 881 * amount = start.until(end, YEARS); 907 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:Year
|
H A D | YearMonth.java | 992 * Calculates the amount of time until another year-month in terms of the specified unit. 1001 * using {@code startYearMonth.until(endYearMonth, YEARS)}. 1013 * amount = start.until(end, MONTHS); 1039 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:YearMonth
|
H A D | LocalDate.java | 1548 * Calculates the amount of time until another date in terms of the specified unit. 1557 * using {@code startDate.until(endDate, DAYS)}. 1569 * amount = start.until(end, MONTHS); 1595 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:LocalDate 1647 * period = start.until(end); 1656 public Period until(ChronoLocalDate endDateExclusive) { method in class:LocalDate
|
H A D | LocalTime.java | 1331 * Calculates the amount of time until another time in terms of the specified unit. 1340 * using {@code startTime.until(endTime, HOURS)}. 1352 * amount = start.until(end, MINUTES); 1378 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:LocalTime
|
H A D | OffsetTime.java | 1121 * Calculates the amount of time until another time in terms of the specified unit. 1128 * using {@code startTime.until(endTime, HOURS)}. 1145 * amount = start.until(end, MINUTES); 1171 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:OffsetTime
|
H A D | LocalDateTime.java | 1627 * Calculates the amount of time until another date-time in terms of the specified unit. 1636 * using {@code startDateTime.until(endDateTime, DAYS)}. 1648 * amount = start.until(end, MONTHS); 1676 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:LocalDateTime 1682 return time.until(end.time, unit); 1729 return date.until(endDate, unit);
|
H A D | OffsetDateTime.java | 1596 * Calculates the amount of time until another date-time in terms of the specified unit. 1603 * using {@code startDateTime.until(endDateTime, DAYS)}. 1620 * amount = start.until(end, MONTHS); 1648 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:OffsetDateTime 1652 return dateTime.until(end.dateTime, unit);
|
H A D | ZonedDateTime.java | 2046 * Calculates the amount of time until another date-time in terms of the specified unit. 2053 * using {@code startDateTime.until(endDateTime, DAYS)}. 2070 * amount = start.until(end, MONTHS); 2112 public long until(Temporal endExclusive, TemporalUnit unit) { method in class:ZonedDateTime 2117 return dateTime.until(end.dateTime, unit); 2119 return toOffsetDateTime().until(end.toOffsetDateTime(), unit);
|