/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 | ZonedDateTime.java | 1689 public ZonedDateTime plusDays(long days) { in plusDays() 1930 public ZonedDateTime 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()
|
/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 | 735 int days = -offset + (dow - 1) + (wowby - 1) * 7; in ofWeekBasedYear() local 963 int days = localDow - localizedDayOfWeek(date); // safe from overflow in resolveWoM() local 970 int days = localDow - localizedDayOfWeek(date); // safe from overflow in resolveWoM() local 988 int days = localDow - localizedDayOfWeek(date); // safe from overflow in resolveWoY() local 993 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 | BaseCalendar.java | 232 int days = normalizeTime(bdate); in normalize() local 332 int days = DAYS_IN_MONTH[month]; in getMonthLength() local 385 long days = dayOfMonth; in getFixedDate() 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()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | RelativeDateTimeFormatter.java | 292 int days = Math.abs(DateUtilsBridge.dayDistance(timeCalendar, nowCalendar)); in getRelativeDateTimeString() local
|
/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
|