Home
last modified time | relevance | path

Searched defs:days (Results 1 – 25 of 34) sorted by relevance

12

/libcore/ojluni/src/main/java/java/time/
DPeriod.java163 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
DDayOfWeek.java365 public DayOfWeek plus(long days) { in plus()
381 public DayOfWeek minus(long days) { in minus()
DOffsetDateTime.java1272 public OffsetDateTime plusDays(long days) { in plusDays()
1461 public OffsetDateTime minusDays(long days) { in minusDays()
DZonedDateTime.java1689 public ZonedDateTime plusDays(long days) { in plusDays()
1930 public ZonedDateTime minusDays(long days) { in minusDays()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestOffsetDateTime_instants.java134 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/
DChronoPeriodImpl.java126 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
DAbstractChronology.java555 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
DIsoChronology.java547 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()
DJapaneseChronology.java478 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
DHijrahDate.java546 HijrahDate plusDays(long days) { in plusDays()
591 int days = end.dayOfMonth - this.dayOfMonth; in until() local
DChronology.java704 default ChronoPeriod period(int years, int months, int days) { in period()
DThaiBuddhistDate.java381 ThaiBuddhistDate plusDays(long days) { in plusDays()
DMinguoDate.java381 MinguoDate plusDays(long days) { in plusDays()
DChronoLocalDateTimeImpl.java321 private ChronoLocalDateTimeImpl<D> plusDays(long days) { in plusDays()
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeFactory.java235 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
DDuration.java902 BigInteger days = (BigInteger) getField(DatatypeConstants.DAYS); in toString() local
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticDate.java292 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/
DFileTime.java316 private long toExcessNanos(long days) { in toExcessNanos()
359 long days = toDays(); in compareTo() local
/libcore/ojluni/src/main/java/java/time/temporal/
DWeekFields.java735 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/
DAbstractCalendar.java120 long days = 0; // fixed date in getCalendarDate() local
383 long days = 0; in normalizeTime() local
DBaseCalendar.java232 int days = normalizeTime(bdate); in normalize() local
332 int days = DAYS_IN_MONTH[month]; in getMonthLength() local
385 long days = dayOfMonth; in getFixedDate() local
DJulianCalendar.java160 long days = JULIAN_EPOCH - 1 + (365 * (y - 1)) + dayOfMonth; in getFixedDate() local
/libcore/ojluni/annotations/hiddenapi/java/time/
DOffsetDateTime.java293 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/
DRelativeDateTimeFormatter.java292 int days = Math.abs(DateUtilsBridge.dayDistance(timeCalendar, nowCalendar)); in getRelativeDateTimeString() local
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java325 …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

12