/libcore/ojluni/src/main/java/java/time/ |
D | Period.java | 153 private final int years; field in Period 173 public static Period ofYears(int years) { in ofYears() 228 public static Period of(int years, int months, int days) { in of() 262 int years = 0; in from() local 331 int years = parseNumber(text, yearStart, yearEnd, 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() 553 public Period withYears(int years) { in withYears() 1070 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 | 1621 public ZonedDateTime plusYears(long years) { in plusYears() 1866 public ZonedDateTime minusYears(long years) { in minusYears()
|
D | LocalDateTime.java | 1208 public LocalDateTime plusYears(long years) { in plusYears() 1406 public LocalDateTime minusYears(long years) { in minusYears()
|
D | LocalDate.java | 1710 long years = totalMonths / 12; // safe in until() local
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoPeriodImpl.java | 117 final int years; field in ChronoPeriodImpl 130 ChronoPeriodImpl(Chronology chrono, int years, int months, int days) { in ChronoPeriodImpl() 392 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 | HijrahChronology.java | 883 Map<Integer, int[]> years = new HashMap<>(); in loadCalendarData() local 965 …rivate int[] createEpochMonths(int epochDay, int minYear, int maxYear, Map<Integer, int[]> years) { in createEpochMonths()
|
D | MinguoDate.java | 366 MinguoDate plusYears(long years) { in plusYears()
|
D | ThaiBuddhistDate.java | 366 ThaiBuddhistDate plusYears(long years) { in plusYears()
|
D | Chronology.java | 716 default ChronoPeriod period(int years, int months, int days) { in period()
|
D | IsoChronology.java | 676 public Period period(int years, int months, int days) { in period()
|
D | JapaneseDate.java | 607 JapaneseDate plusYears(long years) { in plusYears()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticDate.java | 278 private CopticDate plusYears(long years) { in plusYears() 323 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/luni/src/test/java/libcore/javax/xml/datatype/ |
D | DatatypeFactoryTest.java | 331 public Duration newDuration(boolean isPositive, BigInteger years, in newDuration()
|
/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 | 572 long years = 20L + Year.MAX_VALUE; in test_plusYears_big() local 704 long years = 20L + Year.MAX_VALUE; in test_minusYears_big() local
|