Home
last modified time | relevance | path

Searched defs:months (Results 1 – 25 of 27) sorted by relevance

12

/libcore/ojluni/src/main/java/java/time/
DPeriod.java159 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
DMonth.java392 public Month plus(long months) { in plus()
408 public Month minus(long months) { in minus()
DOffsetDateTime.java1234 public OffsetDateTime plusMonths(long months) { in plusMonths()
1423 public OffsetDateTime minusMonths(long months) { in minusMonths()
DZonedDateTime.java1645 public ZonedDateTime plusMonths(long months) { in plusMonths()
1886 public ZonedDateTime minusMonths(long months) { in minusMonths()
DLocalDateTime.java1239 public LocalDateTime plusMonths(long months) { in plusMonths()
1437 public LocalDateTime minusMonths(long months) { in minusMonths()
DLocalDate.java1669 int months = (int) (totalMonths % 12); // safe in until() local
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoPeriodImpl.java122 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
DAbstractChronology.java554 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()
DIsoChronology.java546 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()
DHijrahChronology.java931 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
DChronology.java704 default ChronoPeriod period(int years, int months, int days) { in period()
DThaiBuddhistDate.java371 ThaiBuddhistDate plusMonths(long months) { in plusMonths()
DMinguoDate.java371 MinguoDate plusMonths(long months) { in plusMonths()
DJapaneseChronology.java477 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMD() local
DJapaneseDate.java616 JapaneseDate plusMonths(long months) { in plusMonths()
DHijrahDate.java601 int months = (int) (totalMonths % 12); // safe in until() local
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticDate.java281 private CopticDate plusMonths(long months) { in plusMonths()
323 int months = (int) (totalMonths % 13); // safe in until() local
DTCKThaiBuddhistChronology.java469 long months = mdate1.until(mdate2, ChronoUnit.MONTHS); in test_periodUntilUnit() local
DTCKMinguoChronology.java508 long months = mdate1.until(mdate2, ChronoUnit.MONTHS); in test_periodUntilUnit() local
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeFactory.java234 final BigInteger months, in newDuration()
271 final int months, in newDuration()
DDuration.java897 BigInteger months = (BigInteger) getField(DatatypeConstants.MONTHS); in toString() local
/libcore/ojluni/annotations/hiddenapi/java/time/
DOffsetDateTime.java285 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/
DTestUmmAlQuraChronology.java325 …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/
DDateFormatSymbols.java159 String months[] = null; field in DateFormatSymbols
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKYearMonth.java712 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

12