/libcore/ojluni/src/test/java/time/test/java/time/ |
D | MockSimplePeriod.java | 91 private final long amount; field in MockSimplePeriod 107 public static MockSimplePeriod of(long amount, TemporalUnit unit) { in of() 111 private MockSimplePeriod(long amount, TemporalUnit unit) { in MockSimplePeriod()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | MockSimplePeriod.java | 91 private final long amount; field in MockSimplePeriod 107 public static MockSimplePeriod of(long amount, TemporalUnit unit) { in of() 111 private MockSimplePeriod(long amount, TemporalUnit unit) { in MockSimplePeriod()
|
D | TCKDuration.java | 395 …public void factory_of_longTemporalUnit(long amount, TemporalUnit unit, long expectedSeconds, int … in factory_of_longTemporalUnit() 414 public void factory_of_longTemporalUnit_outOfRange(long amount, TemporalUnit unit) { in factory_of_longTemporalUnit_outOfRange() 433 TemporalAmount amount = Duration.ofHours(3); in factory_from_TemporalAmount_Duration() local 439 TemporalAmount amount = new TemporalAmount() { in factory_from_TemporalAmount_DaysNanos() local 471 TemporalAmount amount = new TemporalAmount() { in factory_from_TemporalAmount_Minutes_tooBig() local 1170 public void plusDays_long(long days, long amount, long expectedDays) { in plusDays_long() 1212 public void plusHours_long(long hours, long amount, long expectedHours) { in plusHours_long() 1254 public void plusMinutes_long(long minutes, long amount, long expectedMinutes) { in plusMinutes_long() 1300 …public void plusSeconds_long(long seconds, int nanos, long amount, long expectedSeconds, int expec… in plusSeconds_long() 1376 …public void plusMillis_long(long seconds, int nanos, long amount, long expectedSeconds, int expect… in plusMillis_long() [all …]
|
D | TCKYear.java | 495 public void test_plusValid(int year, TemporalAmount amount, int expected) { in test_plusValid() 514 public void test_plusInvalidUnit(TemporalAmount amount) { in test_plusInvalidUnit() 600 …public void test_plus_long_TemporalUnit(Year base, long amount, TemporalUnit unit, Year expectedYe… in test_plus_long_TemporalUnit() 627 public void test_minusValid(int year, TemporalAmount amount, int expected) { in test_minusValid() 646 public void test_minusInvalidUnit(TemporalAmount amount) { in test_minusInvalidUnit() 732 …public void test_minus_long_TemporalUnit(Year base, long amount, TemporalUnit unit, Year expectedY… in test_minus_long_TemporalUnit() 926 long amount = year1.until(year2, unit); in test_until_TemporalUnit() local 932 long amount = year2.until(year1, unit); in test_until_TemporalUnit_negated() local 938 long amount = unit.between(year1, year2); in test_until_TemporalUnit_between() local
|
D | TCKPeriod.java | 160 TemporalAmount amount = Period.of(1, 2, 3); in factory_from_TemporalAmount_Period() local 166 TemporalAmount amount = new TemporalAmount() { in factory_from_TemporalAmount_YearsDays() local 196 TemporalAmount amount = new TemporalAmount() { in factory_from_TemporalAmount_Years_tooBig() local 219 TemporalAmount amount = new TemporalAmount() { in factory_from_TemporalAmount_DaysHours() local 645 TemporalAmount amount = new TemporalAmount() { in test_plus_TemporalAmount_DaysHours() local 790 TemporalAmount amount = new TemporalAmount() { in test_minus_TemporalAmount_DaysHours() local 1156 public void test_good_getUnit(long amount, TemporalUnit unit) { in test_good_getUnit()
|
D | TCKDayOfWeek.java | 305 public void test_plus_long(int base, long amount, int expected) { in test_plus_long() 336 public void test_minus_long(int base, long amount, int expected) { in test_minus_long()
|
D | TCKMonth.java | 317 public void test_plus_long(int base, long amount, int expected) { in test_plus_long() 358 public void test_minus_long(int base, long amount, int expected) { in test_minus_long()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | Temporal.java | 261 default Temporal plus(TemporalAmount amount) { in plus() 333 default Temporal minus(TemporalAmount amount) { in minus()
|
D | TemporalUnit.java | 227 <R extends Temporal> R addTo(R temporal, long amount); in addTo()
|
D | ChronoUnit.java | 265 public <R extends Temporal> R addTo(R temporal, long amount) { in addTo()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoUnit.java | 169 …unitAndTemporal(ChronoUnit unit, Temporal base, boolean isSupportedBy, long amount, Temporal targ… in test_unitAndTemporal() 174 assertEquals(unit.between(base, result), amount); in test_unitAndTemporal() local
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | OffsetTimeTest.java | 70 private static void assertPlusIsNoop(long amount, TemporalUnit unit) { in assertPlusIsNoop()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoPeriodImpl.java | 177 ChronoPeriodImpl amount = validateAmount(amountToAdd); in plus() local 187 ChronoPeriodImpl amount = validateAmount(amountToSubtract); in minus() local 201 private ChronoPeriodImpl validateAmount(TemporalAmount amount) { in validateAmount()
|
D | ChronoLocalDate.java | 448 default ChronoLocalDate plus(TemporalAmount amount) { in plus() 471 default ChronoLocalDate minus(TemporalAmount amount) { in minus()
|
D | ChronoLocalDateTime.java | 283 default ChronoLocalDateTime<D> plus(TemporalAmount amount) { in plus() 301 default ChronoLocalDateTime<D> minus(TemporalAmount amount) { in minus()
|
D | ChronoLocalDateImpl.java | 191 public D plus(TemporalAmount amount) { in plus() 218 public D minus(TemporalAmount amount) { in minus()
|
D | ChronoZonedDateTime.java | 430 default ChronoZonedDateTime<D> plus(TemporalAmount amount) { in plus() 448 default ChronoZonedDateTime<D> minus(TemporalAmount amount) { in minus()
|
D | ThaiBuddhistDate.java | 350 public ThaiBuddhistDate plus(TemporalAmount amount) { in plus() 360 public ThaiBuddhistDate minus(TemporalAmount amount) { in minus()
|
D | MinguoDate.java | 350 public MinguoDate plus(TemporalAmount amount) { in plus() 360 public MinguoDate minus(TemporalAmount amount) { in minus()
|
D | JapaneseDate.java | 559 public JapaneseDate plus(TemporalAmount amount) { in plus() 569 public JapaneseDate minus(TemporalAmount amount) { in minus()
|
/libcore/luni/src/test/resources/systemid/ |
D | recipt.dtd | 7 amount CDATA #IMPLIED attribute
|
/libcore/luni/src/test/resources/ |
D | recipt.dtd | 7 amount CDATA #IMPLIED attribute
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/ |
D | ThreadsTest.java | 150 private final long amount; field in ThreadsTest.Parker 183 long amount = this.amount; in run() local
|
/libcore/ojluni/src/main/java/java/time/ |
D | DayOfWeek.java | 366 int amount = (int) (days % 7); in plus() local
|
D | Month.java | 393 int amount = (int) (months % 12); in plus() local
|