Home
last modified time | relevance | path

Searched defs:period (Results 1 – 22 of 22) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoPeriod.java106 ChronoPeriod period = chrono.period(1, 2, 3); in test_serialization() local
120 ChronoPeriod period = chrono.period(1, 2, 3); in test_get() local
128 ChronoPeriod period = chrono.period(1, 2, 3); in test_get_unsupported() local
134 ChronoPeriod period = chrono.period(1, 2, 3); in test_getUnits() local
143 ChronoPeriod period = chrono.period(1, 2, 3); in test_getChronology() local
165 ChronoPeriod period = chrono.period(1, 2, 3); in test_plus() local
173 ChronoPeriod period = chrono.period(1, 2, 3); in test_plus_wrongChrono() local
183 ChronoPeriod period = chrono.period(1, 2, 3); in test_minus() local
191 ChronoPeriod period = chrono.period(1, 2, 3); in test_minus_wrongChrono() local
202 ChronoPeriod period = chrono.period(1, 2, 3); in test_addTo() local
[all …]
DTCKThaiBuddhistChronology.java461 ChronoPeriod period = mdate1.until(mdate2); in test_periodUntilDate() local
478 ChronoPeriod period = mdate1.until(ldate2); in test_periodUntilDiffChrono() local
DTCKMinguoChronology.java500 ChronoPeriod period = mdate1.until(mdate2); in test_periodUntilDate() local
517 ChronoPeriod period = mdate1.until(ldate2); in test_periodUntilDiffChrono() local
DTCKJapaneseChronology.java634 ChronoPeriod period = mdate1.until(mdate2); in test_periodUntilDate() local
651 ChronoPeriod period = mdate1.until(ldate2); in test_periodUntilDiffChrono() local
/libcore/ojluni/src/main/java/java/util/
DTimer.java250 public void schedule(TimerTask task, long delay, long period) { in schedule()
291 public void schedule(TimerTask task, Date firstTime, long period) { in schedule()
330 public void scheduleAtFixedRate(TimerTask task, long delay, long period) { in scheduleAtFixedRate()
374 long period) { in scheduleAtFixedRate()
393 private void sched(TimerTask task, long time, long period) { in sched()
DTimerTask.java81 long period = 0; field in TimerTask
/libcore/luni/src/test/java/libcore/java/time/chrono/
DThaiBuddhistDateTest.java40 ChronoPeriod period = ThaiBuddhistChronology.INSTANCE.period(1, 1, 1); in minus_thaiBuddhistChronologyPeriod() local
49 ChronoPeriod period = ThaiBuddhistChronology.INSTANCE.period(1, -1, -1); in minus_thaiBuddhistChronologyPeriod_withNegative() local
/libcore/ojluni/annotations/hiddenapi/java/util/
DTimerTask.java64 long period = 0; // 0x0 field in TimerTask
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKPeriod.java1060 public void test_addTo(Period period, LocalDate baseDate, LocalDate expected) { in test_addTo()
1065 … public void test_addTo_usingLocalDatePlus(Period period, LocalDate baseDate, LocalDate expected) { in test_addTo_usingLocalDatePlus()
1113 public void test_subtractFrom(Period period, LocalDate baseDate, LocalDate expected) { in test_subtractFrom()
1118 …public void test_subtractFrom_usingLocalDateMinus(Period period, LocalDate baseDate, LocalDate exp… in test_subtractFrom_usingLocalDateMinus()
1137 Period period = Period.of(2012, 1, 1); in test_Period_getUnits() local
1157 Period period = Period.of(2, 2, 2); in test_good_getUnit() local
1176 Period period = Period.of(2, 2, 2); in test_bad_getUnit() local
DTCKLocalTime.java1428 TemporalAmount period = MockSimplePeriod.of(7, ChronoUnit.HOURS); in test_plus_TemporalAmount_positiveHours() local
1435 TemporalAmount period = MockSimplePeriod.of(-25, ChronoUnit.MINUTES); in test_plus_TemporalAmount_negativeMinutes() local
1442 TemporalAmount period = Period.ZERO; in test_plus_TemporalAmount_zero() local
1456 TemporalAmount period = MockSimplePeriod.of(7, ChronoUnit.MONTHS); in test_plus_TemporalAmount_dateNotAllowed() local
/libcore/ojluni/src/main/java/java/util/concurrent/
DScheduledExecutorService.java170 long period, in scheduleAtFixedRate()
DScheduledThreadPoolExecutor.java196 private final long period; field in ScheduledThreadPoolExecutor.ScheduledFutureTask
222 long period, long sequenceNumber) { in ScheduledFutureTask()
590 long period, in scheduleAtFixedRate()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoPeriodImpl.java206 ChronoPeriodImpl period = (ChronoPeriodImpl) amount; in validateAmount() local
DChronology.java704 default ChronoPeriod period(int years, int months, int days) { in period() method
DIsoChronology.java583 public Period period(int years, int months, int days) { in period() method in IsoChronology
DMinguoDate.java427 Period period = isoDate.until(endDate); in until() local
DThaiBuddhistDate.java427 Period period = isoDate.until(endDate); in until() local
DJapaneseDate.java672 Period period = isoDate.until(endDate); in until() local
/libcore/ojluni/src/main/java/java/sql/
DTimestamp.java187 int period = 0; in valueOf() local
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java346 ChronoPeriod period = h1.until(h2); in test_until() local
354 ChronoPeriod period = h1.until(m); in test_periodUntilDiffChrono() local
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java291 long period, in scheduleAtFixedRate()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArraysTest.java2119 int period = m; in build() local