Home
last modified time | relevance | path

Searched refs:TemporalAmount (Results 1 – 25 of 35) sorted by relevance

12

/libcore/ojluni/src/main/java/java/time/chrono/
DChronoPeriod.java67 import java.time.temporal.TemporalAmount;
95 extends TemporalAmount {
209 ChronoPeriod plus(TemporalAmount amountToAdd); in plus()
224 ChronoPeriod minus(TemporalAmount amountToSubtract); in minus()
DChronoLocalDate.java78 import java.time.temporal.TemporalAmount;
448 default ChronoLocalDate plus(TemporalAmount amount) { in plus()
471 default ChronoLocalDate minus(TemporalAmount amount) { in minus()
DChronoPeriodImpl.java75 import java.time.temporal.TemporalAmount;
176 public ChronoPeriod plus(TemporalAmount amountToAdd) { in plus()
186 public ChronoPeriod minus(TemporalAmount amountToSubtract) { in minus()
201 private ChronoPeriodImpl validateAmount(TemporalAmount amount) { in validateAmount()
DChronoLocalDateTime.java81 import java.time.temporal.TemporalAmount;
283 default ChronoLocalDateTime<D> plus(TemporalAmount amount) { in plus()
301 default ChronoLocalDateTime<D> minus(TemporalAmount amount) { in minus()
DChronoLocalDateImpl.java70 import java.time.temporal.TemporalAmount;
191 public D plus(TemporalAmount amount) { in plus()
218 public D minus(TemporalAmount amount) { in minus()
DChronoZonedDateTime.java81 import java.time.temporal.TemporalAmount;
430 default ChronoZonedDateTime<D> plus(TemporalAmount amount) { in plus()
448 default ChronoZonedDateTime<D> minus(TemporalAmount amount) { in minus()
DThaiBuddhistDate.java79 import java.time.temporal.TemporalAmount;
350 public ThaiBuddhistDate plus(TemporalAmount amount) { in plus()
360 public ThaiBuddhistDate minus(TemporalAmount amount) { in minus()
DMinguoDate.java79 import java.time.temporal.TemporalAmount;
350 public MinguoDate plus(TemporalAmount amount) { in plus()
360 public MinguoDate minus(TemporalAmount amount) { in minus()
DHijrahDate.java81 import java.time.temporal.TemporalAmount;
458 public HijrahDate plus(TemporalAmount amount) { in plus()
468 public HijrahDate minus(TemporalAmount amount) { in minus()
DJapaneseDate.java82 import java.time.temporal.TemporalAmount;
559 public JapaneseDate plus(TemporalAmount amount) { in plus()
569 public JapaneseDate minus(TemporalAmount amount) { in minus()
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporal.java261 default Temporal plus(TemporalAmount amount) { in plus()
333 default Temporal minus(TemporalAmount amount) { in minus()
DTemporalAmount.java99 public interface TemporalAmount { interface
/libcore/ojluni/src/test/java/time/test/java/time/
DMockSimplePeriod.java68 import java.time.temporal.TemporalAmount;
77 implements TemporalAmount, Comparable<MockSimplePeriod> {
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKPeriod.java75 import java.time.temporal.TemporalAmount;
160 TemporalAmount amount = Period.of(1, 2, 3); in factory_from_TemporalAmount_Period()
166 TemporalAmount amount = new TemporalAmount() { in factory_from_TemporalAmount_YearsDays()
196 TemporalAmount amount = new TemporalAmount() { in factory_from_TemporalAmount_Years_tooBig()
219 TemporalAmount amount = new TemporalAmount() { in factory_from_TemporalAmount_DaysHours()
645 TemporalAmount amount = new TemporalAmount() { in test_plus_TemporalAmount_DaysHours()
790 TemporalAmount amount = new TemporalAmount() { in test_minus_TemporalAmount_DaysHours()
DTCKLocalTime.java117 import java.time.temporal.TemporalAmount;
1428 TemporalAmount period = MockSimplePeriod.of(7, ChronoUnit.HOURS); in test_plus_TemporalAmount_positiveHours()
1435 TemporalAmount period = MockSimplePeriod.of(-25, ChronoUnit.MINUTES); in test_plus_TemporalAmount_negativeMinutes()
1442 TemporalAmount period = Period.ZERO; in test_plus_TemporalAmount_zero()
1449 TemporalAmount p = MockSimplePeriod.of(1, HOURS); in test_plus_TemporalAmount_wrap()
1456 TemporalAmount period = MockSimplePeriod.of(7, ChronoUnit.MONTHS); in test_plus_TemporalAmount_dateNotAllowed()
1462 TEST_12_30_40_987654321.plus((TemporalAmount) null); in test_plus_TemporalAmount_null()
1854 TemporalAmount period = MockSimplePeriod.of(7, ChronoUnit.HOURS);
1861 TemporalAmount period = MockSimplePeriod.of(-25, ChronoUnit.MINUTES);
1868 TemporalAmount period = Period.ZERO;
[all …]
/libcore/ojluni/src/main/java/java/time/
DPeriod.java82 import java.time.temporal.TemporalAmount;
254 public static Period from(TemporalAmount amount) { in from()
619 public Period plus(TemporalAmount amountToAdd) { in plus()
708 public Period minus(TemporalAmount amountToSubtract) { in minus()
DYear.java90 import java.time.temporal.TemporalAmount;
649 public Year plus(TemporalAmount amountToAdd) { in plus()
754 public Year minus(TemporalAmount amountToSubtract) { in minus()
DYearMonth.java93 import java.time.temporal.TemporalAmount;
743 public YearMonth plus(TemporalAmount amountToAdd) { in plus()
873 public YearMonth minus(TemporalAmount amountToSubtract) { in minus()
DInstant.java88 import java.time.temporal.TemporalAmount;
781 public Instant plus(TemporalAmount amountToAdd) { in plus()
948 public Instant minus(TemporalAmount amountToSubtract) { in minus()
DDuration.java88 import java.time.temporal.TemporalAmount;
130 implements TemporalAmount, Comparable<Duration>, Serializable {
328 public static Duration from(TemporalAmount amount) { in from()
DOffsetDateTime.java85 import java.time.temporal.TemporalAmount;
1152 public OffsetDateTime plus(TemporalAmount amountToAdd) { in plus()
1350 public OffsetDateTime minus(TemporalAmount amountToSubtract) { in minus()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoLocalDate.java82 import java.time.temporal.TemporalAmount;
143 TemporalAmount adjuster = new FixedAdjuster(date2); in test_badPlusAdjusterChrono()
166 TemporalAmount adjuster = new FixedAdjuster(date2); in test_badMinusAdjusterChrono()
338 static class FixedAdjuster implements TemporalAdjuster, TemporalAmount {
DTCKChronoLocalDateTime.java83 import java.time.temporal.TemporalAmount;
144 TemporalAmount adjuster = new FixedAdjuster(cdt2); in test_badPlusAdjusterChrono()
168 TemporalAmount adjuster = new FixedAdjuster(cdt2); in test_badMinusAdjusterChrono()
358 static class FixedAdjuster implements TemporalAdjuster, TemporalAmount {
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java69 implements java.time.temporal.TemporalAmount,
109 public static java.time.Duration from(java.time.temporal.TemporalAmount amount) { in from()
DOffsetDateTime.java273 public java.time.OffsetDateTime plus(java.time.temporal.TemporalAmount amountToAdd) { in plus()
313 public java.time.OffsetDateTime minus(java.time.temporal.TemporalAmount amountToSubtract) { in minus()

12