Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/main/java/java/time/
DPeriod.java157 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
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.java1643 public ZonedDateTime plusMonths(long months) { in plusMonths()
1888 public ZonedDateTime minusMonths(long months) { in minusMonths()
DLocalDateTime.java1233 public LocalDateTime plusMonths(long months) { in plusMonths()
1430 public LocalDateTime minusMonths(long months) { in minusMonths()
DLocalDate.java1711 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/
DChronoPeriodImpl.java121 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
DAbstractChronology.java524 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()
DIsoChronology.java640 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()
DHijrahChronology.java911 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
DMinguoDate.java371 MinguoDate plusMonths(long months) { in plusMonths()
DThaiBuddhistDate.java371 ThaiBuddhistDate plusMonths(long months) { in plusMonths()
DChronology.java716 default ChronoPeriod period(int years, int months, int days) { in period()
DJapaneseChronology.java477 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMD() local
DJapaneseDate.java612 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.java282 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/
DDurationImpl.java66 DurationImpl(int sgn, int y, int months, int d, int h, int m, float s) { in DurationImpl()
DDatatypeFactoryTest.java332 BigInteger months, BigInteger days, BigInteger hours, in newDuration()
/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.java163 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