/libcore/ojluni/src/main/java/java/time/ |
D | Period.java | 155 private final int years; field in Period 175 public static Period ofYears(int years) { in ofYears() 230 public static Period of(int years, int months, int days) { in of() 264 int years = 0; in from() local 333 int years = parseNumber(text, yearMatch, 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() 551 public Period withYears(int years) { in withYears() 1069 int years = in.readInt(); in readExternal() local
|
D | OffsetDateTime.java | 1210 public OffsetDateTime plusYears(long years) { in plusYears() 1399 public OffsetDateTime minusYears(long years) { in minusYears()
|
D | ZonedDateTime.java | 1623 public ZonedDateTime plusYears(long years) { in plusYears() 1864 public ZonedDateTime minusYears(long years) { in minusYears()
|
D | LocalDateTime.java | 1214 public LocalDateTime plusYears(long years) { in plusYears() 1413 public LocalDateTime minusYears(long years) { in minusYears()
|
D | LocalDate.java | 1668 long years = totalMonths / 12; // safe in until() local
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoPeriodImpl.java | 118 final int years; field in ChronoPeriodImpl 131 ChronoPeriodImpl(Chronology chrono, int years, int months, int days) { in ChronoPeriodImpl() 395 int years = in.readInt(); in readExternal() local
|
D | HijrahDate.java | 520 HijrahDate plusYears(long years) { in plusYears() 600 long years = totalMonths / 12; // safe in until() local
|
D | Chronology.java | 704 default ChronoPeriod period(int years, int months, int days) { in period()
|
D | HijrahChronology.java | 903 Map<Integer, int[]> years = new HashMap<>(); in loadCalendarData() local 985 …rivate int[] createEpochMonths(int epochDay, int minYear, int maxYear, Map<Integer, int[]> years) { in createEpochMonths()
|
D | IsoChronology.java | 583 public Period period(int years, int months, int days) { in period()
|
D | ThaiBuddhistDate.java | 366 ThaiBuddhistDate plusYears(long years) { in plusYears()
|
D | MinguoDate.java | 366 MinguoDate plusYears(long years) { in plusYears()
|
D | JapaneseDate.java | 611 JapaneseDate plusYears(long years) { in plusYears()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticDate.java | 277 private CopticDate plusYears(long years) { in plusYears() 322 long years = totalMonths / 13; // safe in until() local
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | DatatypeFactory.java | 233 final BigInteger years, in newDuration() 270 final int years, in newDuration()
|
D | Duration.java | 892 BigInteger years = (BigInteger) getField(DatatypeConstants.YEARS); in toString() local
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 281 public java.time.OffsetDateTime plusYears(long years) { in plusYears() 322 public java.time.OffsetDateTime minusYears(long years) { in minusYears()
|
/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() 328 assertEquals(from.until(to, ChronoUnit.YEARS), years); in test_diffBetweenDates() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKYear.java | 548 long years = 20L + Year.MAX_VALUE; in test_plusYears_big() local 680 long years = 20L + Year.MAX_VALUE; in test_minusYears_big() local
|