/libcore/ojluni/src/main/java/java/time/ |
D | Period.java | 159 private final int months; field in Period 188 public static Period ofMonths(int months) { in ofMonths() 230 public static Period of(int years, int months, int days) { in of() 265 int months = 0; in from() local 334 int months = parseNumber(text, monthMatch, 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() 573 public Period withMonths(int months) { in withMonths() 1070 int months = in.readInt(); in readExternal() local
|
D | Month.java | 392 public Month plus(long months) { in plus() 408 public Month minus(long months) { in minus()
|
D | OffsetDateTime.java | 1234 public OffsetDateTime plusMonths(long months) { in plusMonths() 1423 public OffsetDateTime minusMonths(long months) { in minusMonths()
|
D | ZonedDateTime.java | 1645 public ZonedDateTime plusMonths(long months) { in plusMonths() 1886 public ZonedDateTime minusMonths(long months) { in minusMonths()
|
D | LocalDateTime.java | 1239 public LocalDateTime plusMonths(long months) { in plusMonths() 1437 public LocalDateTime minusMonths(long months) { in minusMonths()
|
D | LocalDate.java | 1669 int months = (int) (totalMonths % 12); // safe in until() local
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoPeriodImpl.java | 122 final int months; field in ChronoPeriodImpl 131 ChronoPeriodImpl(Chronology chrono, int years, int months, int days) { in ChronoPeriodImpl() 396 int months = in.readInt(); in readExternal() local
|
D | AbstractChronology.java | 554 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMD() local 584 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMAA() local 602 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMAD() local 649 ChronoLocalDate resolveAligned(ChronoLocalDate base, long months, long weeks, long dow) { in resolveAligned()
|
D | IsoChronology.java | 546 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMD() local 583 public Period period(int years, int months, int days) { in period()
|
D | HijrahChronology.java | 931 int[] months = parseMonths((String) entry.getValue()); in loadCalendarData() local 997 int[] months = years.get(year);// must not be gaps in createEpochMonths() local 1031 int[] months = new int[12]; in parseMonths() local
|
D | Chronology.java | 704 default ChronoPeriod period(int years, int months, int days) { in period()
|
D | ThaiBuddhistDate.java | 371 ThaiBuddhistDate plusMonths(long months) { in plusMonths()
|
D | MinguoDate.java | 371 MinguoDate plusMonths(long months) { in plusMonths()
|
D | JapaneseChronology.java | 477 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMD() local
|
D | JapaneseDate.java | 616 JapaneseDate plusMonths(long months) { in plusMonths()
|
D | HijrahDate.java | 601 int months = (int) (totalMonths % 12); // safe in until() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticDate.java | 281 private CopticDate plusMonths(long months) { in plusMonths() 323 int months = (int) (totalMonths % 13); // safe in until() local
|
D | TCKThaiBuddhistChronology.java | 469 long months = mdate1.until(mdate2, ChronoUnit.MONTHS); in test_periodUntilUnit() local
|
D | TCKMinguoChronology.java | 508 long months = mdate1.until(mdate2, ChronoUnit.MONTHS); in test_periodUntilUnit() local
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | DatatypeFactory.java | 234 final BigInteger months, in newDuration() 271 final int months, in newDuration()
|
D | Duration.java | 897 BigInteger months = (BigInteger) getField(DatatypeConstants.MONTHS); in toString() local
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 285 public java.time.OffsetDateTime plusMonths(long months) { in plusMonths() 326 public java.time.OffsetDateTime minusMonths(long months) { in minusMonths()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestUmmAlQuraChronology.java | 325 …st_diffBetweenDates(ChronoLocalDate from, ChronoLocalDate to, long days, long months, long years) { in test_diffBetweenDates() 327 assertEquals(from.until(to, ChronoUnit.MONTHS), months); in test_diffBetweenDates() local
|
/libcore/ojluni/src/main/java/java/text/ |
D | DateFormatSymbols.java | 159 String months[] = null; field in DateFormatSymbols
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKYearMonth.java | 712 long months = 20L + Integer.MAX_VALUE; in test_plusMonths_long_big() local 927 long months = 20L + Integer.MAX_VALUE; in test_minusMonths_long_big() local
|