/libcore/ojluni/src/main/java/java/time/ |
D | Period.java | 157 private final int months; field in Period 186 public static Period ofMonths(int months) { in ofMonths() 228 public static Period of(int years, int months, int days) { in of() 263 int months = 0; in from() local 332 int months = parseNumber(text, monthStart, monthEnd, negate); in parse() local 393 private static Period create(int years, int months, int days) { in create() 407 private Period(int years, int months, int days) { in Period() 575 public Period withMonths(int months) { in withMonths() 1071 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 | 1643 public ZonedDateTime plusMonths(long months) { in plusMonths() 1888 public ZonedDateTime minusMonths(long months) { in minusMonths()
|
D | LocalDateTime.java | 1233 public LocalDateTime plusMonths(long months) { in plusMonths() 1430 public LocalDateTime minusMonths(long months) { in minusMonths()
|
D | LocalDate.java | 1711 int months = (int) (totalMonths % 12); // safe in until() local 1760 long months = step.toTotalMonths(); in datesUntil() local
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoPeriodImpl.java | 121 final int months; field in ChronoPeriodImpl 130 ChronoPeriodImpl(Chronology chrono, int years, int months, int days) { in ChronoPeriodImpl() 393 int months = in.readInt(); in readExternal() local
|
D | AbstractChronology.java | 524 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMD() local 554 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMAA() local 572 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMAD() local 619 ChronoLocalDate resolveAligned(ChronoLocalDate base, long months, long weeks, long dow) { in resolveAligned()
|
D | IsoChronology.java | 640 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMD() local 676 public Period period(int years, int months, int days) { in period()
|
D | HijrahChronology.java | 911 int[] months = parseMonths((String) entry.getValue()); in loadCalendarData() local 977 int[] months = years.get(year);// must not be gaps in createEpochMonths() local 1011 int[] months = new int[12]; in parseMonths() local
|
D | MinguoDate.java | 371 MinguoDate plusMonths(long months) { in plusMonths()
|
D | ThaiBuddhistDate.java | 371 ThaiBuddhistDate plusMonths(long months) { in plusMonths()
|
D | Chronology.java | 716 default ChronoPeriod period(int years, int months, int days) { in period()
|
D | JapaneseChronology.java | 477 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMD() local
|
D | JapaneseDate.java | 612 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 | 282 private CopticDate plusMonths(long months) { in plusMonths() 324 int months = (int) (totalMonths % 13); // safe in until() local
|
/libcore/luni/src/test/java/libcore/javax/xml/datatype/ |
D | DurationImpl.java | 66 DurationImpl(int sgn, int y, int months, int d, int h, int m, float s) { in DurationImpl()
|
D | DatatypeFactoryTest.java | 332 BigInteger months, BigInteger days, BigInteger hours, in newDuration()
|
/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 | 163 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
|