/libcore/ojluni/src/main/java/java/time/ |
D | Period.java | 163 private final int days; field in Period 215 public static Period ofDays(int days) { in ofDays() 230 public static Period of(int years, int months, int days) { in of() 266 int days = 0; in from() local 336 int days = parseNumber(text, dayMatch, negate); in parse() local 391 private static Period create(int years, int months, int days) { in create() 405 private Period(int years, int months, int days) { in Period() 591 public Period withDays(int days) { in withDays() 1071 int days = in.readInt(); in readExternal() local
|
D | DayOfWeek.java | 365 public DayOfWeek plus(long days) { in plus() 381 public DayOfWeek minus(long days) { in minus()
|
D | OffsetDateTime.java | 1272 public OffsetDateTime plusDays(long days) { in plusDays() 1461 public OffsetDateTime minusDays(long days) { in minusDays()
|
D | LocalDateTime.java | 1279 public LocalDateTime plusDays(long days) { in plusDays() 1475 public LocalDateTime minusDays(long days) { in minusDays()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestOffsetDateTime_instants.java | 134 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970; in factory_ofInstant_tooLow() local 147 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970; in factory_ofInstant_tooBig() local 156 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970; in factory_ofInstant_minWithMinOffset() local 172 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970; in factory_ofInstant_minWithMaxOffset() local 188 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) + 365 - days_0000_to_1970; in factory_ofInstant_maxWithMinOffset() local 204 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) + 365 - days_0000_to_1970; in factory_ofInstant_maxWithMaxOffset() local
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoPeriodImpl.java | 126 final int days; field in ChronoPeriodImpl 131 ChronoPeriodImpl(Chronology chrono, int years, int months, int days) { in ChronoPeriodImpl() 397 int days = in.readInt(); in readExternal() local
|
D | AbstractChronology.java | 555 long days = Math.subtractExact(fieldValues.remove(DAY_OF_MONTH), 1); in resolveYMD() local 574 long days = Math.subtractExact(fieldValues.remove(DAY_OF_YEAR), 1); in resolveYD() local 586 long days = Math.subtractExact(fieldValues.remove(ALIGNED_DAY_OF_WEEK_IN_MONTH), 1); in resolveYMAA() local 621 long days = Math.subtractExact(fieldValues.remove(ALIGNED_DAY_OF_WEEK_IN_YEAR), 1); in resolveYAA() local
|
D | IsoChronology.java | 547 long days = Math.subtractExact(fieldValues.remove(DAY_OF_MONTH), 1); in resolveYMD() local 583 public Period period(int years, int months, int days) { in period()
|
D | JapaneseChronology.java | 478 long days = Math.subtractExact(fieldValues.remove(DAY_OF_MONTH), 1); in resolveYMD() local 510 long days = Math.subtractExact(fieldValues.remove(DAY_OF_YEAR), 1); in resolveYD() local
|
D | HijrahDate.java | 546 HijrahDate plusDays(long days) { in plusDays() 591 int days = end.dayOfMonth - this.dayOfMonth; in until() local
|
D | Chronology.java | 704 default ChronoPeriod period(int years, int months, int days) { in period()
|
D | ThaiBuddhistDate.java | 381 ThaiBuddhistDate plusDays(long days) { in plusDays()
|
D | MinguoDate.java | 381 MinguoDate plusDays(long days) { in plusDays()
|
D | ChronoLocalDateTimeImpl.java | 321 private ChronoLocalDateTimeImpl<D> plusDays(long days) { in plusDays()
|
D | JapaneseDate.java | 626 JapaneseDate plusDays(long days) { in plusDays()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | DatatypeFactory.java | 235 final BigInteger days, in newDuration() 272 final int days, in newDuration() 414 long days = val / 24L; in newDurationDayTime() local 432 BigInteger days = BigInteger.valueOf(val); in newDurationDayTime() local
|
D | Duration.java | 902 BigInteger days = (BigInteger) getField(DatatypeConstants.DAYS); in toString() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticDate.java | 292 private CopticDate plusDays(long days) { in plusDays() 313 int days = end.day - this.day; in until() local
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 316 private long toExcessNanos(long days) { in toExcessNanos() 359 long days = toDays(); in compareTo() local
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | WeekFields.java | 734 int days = -offset + (dow - 1) + (wowby - 1) * 7; in ofWeekBasedYear() local 962 int days = localDow - localizedDayOfWeek(date); // safe from overflow in resolveWoM() local 969 int days = localDow - localizedDayOfWeek(date); // safe from overflow in resolveWoM() local 987 int days = localDow - localizedDayOfWeek(date); // safe from overflow in resolveWoY() local 992 int days = localDow - localizedDayOfWeek(date); // safe from overflow in resolveWoY() local
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | AbstractCalendar.java | 120 long days = 0; // fixed date in getCalendarDate() local 383 long days = 0; in normalizeTime() local
|
D | JulianCalendar.java | 160 long days = JULIAN_EPOCH - 1 + (365 * (y - 1)) + dayOfMonth; in getFixedDate() local
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 293 public java.time.OffsetDateTime plusDays(long days) { in plusDays() 334 public java.time.OffsetDateTime minusDays(long days) { in minusDays()
|
D | Duration.java | 77 public static java.time.Duration ofDays(long days) { in ofDays()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestUmmAlQuraChronology.java | 325 …public void test_diffBetweenDates(ChronoLocalDate from, ChronoLocalDate to, long days, long months… in test_diffBetweenDates() 326 assertEquals(from.until(to, ChronoUnit.DAYS), days); in test_diffBetweenDates() local
|