Home
last modified time | relevance | path

Searched refs:setTime (Results 1 – 25 of 229) sorted by relevance

12345678910

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DViewManagerImplTest.java303 clock.setTime(Timestamp.create(1, 2)); in testRecordCumulative()
309 clock.setTime(Timestamp.create(3, 4)); in testRecordCumulative()
420 clock.setTime(Timestamp.fromMillis(startTimeMillis)); in testRecordInterval()
432 clock.setTime(Timestamp.fromMillis(startTimeMillis + i * MILLIS_PER_SECOND)); in testRecordInterval()
436 clock.setTime(Timestamp.fromMillis(startTimeMillis + 8 * MILLIS_PER_SECOND)); in testRecordInterval()
445 clock.setTime(Timestamp.fromMillis(startTimeMillis + 11 * MILLIS_PER_SECOND)); in testRecordInterval()
452 clock.setTime(Timestamp.fromMillis(startTimeMillis + 12 * MILLIS_PER_SECOND)); in testRecordInterval()
456 clock.setTime(Timestamp.fromMillis(startTimeMillis + 17 * MILLIS_PER_SECOND)); in testRecordInterval()
464 clock.setTime(Timestamp.fromMillis(60 * MILLIS_PER_SECOND)); in testRecordInterval()
472 clock.setTime(Timestamp.fromMillis(100 * MILLIS_PER_SECOND)); in testRecordInterval()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DSimpleDateRule.java119 c.setTime(date); in isOn()
123 c.setTime(computeInYear(c.get(Calendar.YEAR), c)); in isOn()
147 c.setTime(start); in doFirstBetween()
186 c.setTime(c.getTime()); // JDK 1.1.2 workaround in computeInYear()
DEasterHoliday.java173 calendar.setTime(date); in isOn()
176 calendar.setTime(computeInYear(calendar.getTime(), calendar)); in isOn()
206 calendar.setTime(start); in doFirstBetween()
239 cal.setTime(date); in computeInYear()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DSimpleDateRule.java123 c.setTime(date); in isOn()
127 c.setTime(computeInYear(c.get(Calendar.YEAR), c)); in isOn()
152 c.setTime(start); in doFirstBetween()
191 c.setTime(c.getTime()); // JDK 1.1.2 workaround in computeInYear()
DEasterHoliday.java187 calendar.setTime(date); in isOn()
190 calendar.setTime(computeInYear(calendar.getTime(), calendar)); in isOn()
220 calendar.setTime(start); in doFirstBetween()
253 cal.setTime(date); in computeInYear()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DDateDeserializationTest.java160 c.setTime(inputDate); in testDateUtilISO8601()
168 c.setTime(inputDate); in testDateUtilISO8601()
176 c.setTime(inputDate); in testDateUtilISO8601()
184 c.setTime(inputDate); in testDateUtilISO8601()
191 c.setTime(inputDate); in testDateUtilISO8601()
206 c.setTime(inputDate); in testISO8601PartialMilliseconds()
214 c.setTime(inputDate); in testISO8601PartialMilliseconds()
225 c.setTime(inputDate); in testISO8601PartialMilliseconds()
237 c.setTime(inputDate); in testISO8601PartialMilliseconds()
249 c.setTime(inputDate); in testISO8601PartialMilliseconds()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DTestCase.java51 protected void setTime(Date d) { in setTime() method in TestCase
96 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in TestCase()
133 setTime(greg.getTime()); in TestCase()
173 c.setTime(new Date(time)); in applyTime()
DHolidayTest.java109 first.setTime(first.getTime() + awhile); in exerciseHoliday()
158 c.setTime(fStartOfMonth); in exerciseHoliday()
197 c.setTime(d); in exerciseHoliday()
203 d.setTime( d.getTime() + 1000 ); // "d++" in exerciseHoliday()
284 c.setTime(actual); in TestEaster()
DCalendarRegressionTest.java299 cal.setTime(date); in Test4061476()
319 cal.setTime(d); in Test4070502()
336 cal.setTime(d); in getAssociatedDate()
388 cal.setTime(tempcal.getTime()); in Test4071385()
416 cal.setTime(firstDate); in Test4083167()
427 cal.setTime(lastDate); in Test4083167()
514 cal1.setTime(new Date(880698639000L)); in Test4096231()
522 cal1.setTime(new Date(880698639000L)); in Test4096231()
671 testCal.setTime(save); in Test4103271()
753 testCal.setTime(before); in Test4103271()
[all …]
DCompatibilityTest.java101 cal.setTime(d); in TestGregorianChangeover()
155 cal.setTime(new Date(millis)); in TestMapping()
204 cal.setTime(new Date(millis)); in TestMapping()
225 cal.setTime(new Date(millis)); in TestMapping()
259 cal.setTime(new Date(millis)); in auxMapping()
287 cal.setTime(when); in TestGenericAPI()
288 cal2.setTime(when); in TestGenericAPI()
296 cal2.setTime(new Date(when.getTime() + 1000)); in TestGenericAPI()
672 cal.setTime(date); in aux4064654()
706 cal.setTime (d); in TestAddSetOrder621()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DTestCase.java54 protected void setTime(Date d) { in setTime() method in TestCase
99 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in TestCase()
136 setTime(greg.getTime()); in TestCase()
176 c.setTime(new Date(time)); in applyTime()
DHolidayTest.java112 first.setTime(first.getTime() + awhile); in exerciseHoliday()
161 c.setTime(fStartOfMonth); in exerciseHoliday()
200 c.setTime(d); in exerciseHoliday()
206 d.setTime( d.getTime() + 1000 ); // "d++" in exerciseHoliday()
287 c.setTime(actual); in TestEaster()
DCalendarRegressionTest.java302 cal.setTime(date); in Test4061476()
322 cal.setTime(d); in Test4070502()
339 cal.setTime(d); in getAssociatedDate()
391 cal.setTime(tempcal.getTime()); in Test4071385()
419 cal.setTime(firstDate); in Test4083167()
430 cal.setTime(lastDate); in Test4083167()
517 cal1.setTime(new Date(880698639000L)); in Test4096231()
525 cal1.setTime(new Date(880698639000L)); in Test4096231()
674 testCal.setTime(save); in Test4103271()
756 testCal.setTime(before); in Test4103271()
[all …]
DCompatibilityTest.java104 cal.setTime(d); in TestGregorianChangeover()
158 cal.setTime(new Date(millis)); in TestMapping()
207 cal.setTime(new Date(millis)); in TestMapping()
228 cal.setTime(new Date(millis)); in TestMapping()
262 cal.setTime(new Date(millis)); in auxMapping()
290 cal.setTime(when); in TestGenericAPI()
291 cal2.setTime(when); in TestGenericAPI()
299 cal2.setTime(new Date(when.getTime() + 1000)); in TestGenericAPI()
675 cal.setTime(date); in aux4064654()
709 cal.setTime (d); in TestAddSetOrder621()
[all …]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarPanel.java64 fCalendar[0].setTime(fStartOfMonth); in add()
82 fCalendar[index].setTime(date); in setCalendar()
104 fCalendar[0].setTime(dateInMonth); in startOfMonth()
145 c.setTime(fStartOfMonth); in calculate()
286 c.setTime(fStartOfMonth); in paint()
308 fCalendar[i].setTime(c.getTime()); in paint()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTimestampTest.java44 public void setTime(long theTime) { in setTime() method in TimestampTest.MockTimestamp
45 super.setTime(theTime); in setTime()
203 theTimestamp.setTime(TIME_ARRAY[i]); in testSetTimelong()
602 t1.setTime(Long.MIN_VALUE); in testCompareToTimestamp()
607 t1.setTime(Long.MAX_VALUE); in testCompareToTimestamp()
608 t2.setTime(Long.MAX_VALUE - 1); in testCompareToTimestamp()
612 t1.setTime(Integer.MAX_VALUE); in testCompareToTimestamp()
613 t2.setTime(Integer.MAX_VALUE); in testCompareToTimestamp()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarAstronomer.java266 public void setTime(long aTime) { in setTime() method in CalendarAstronomer
282 setTime(date.getTime()); in setDate()
699 setTime(noon + (rise ? -6L : 6L) * HOUR_MS);
710 setTime(t0);
1234 setTime(time + (long)deltaT);
1272 setTime(startTime + (next ? delta : -delta));
1279 setTime(time + (long)deltaT);
1314 setTime(newTime);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java264 public void setTime(long aTime) { in setTime() method in CalendarAstronomer
280 setTime(date.getTime()); in setDate()
697 setTime(noon + (rise ? -6L : 6L) * HOUR_MS);
708 setTime(t0);
1232 setTime(time + (long)deltaT);
1270 setTime(startTime + (next ? delta : -delta));
1277 setTime(time + (long)deltaT);
1312 setTime(newTime);
/external/skia/modules/audioplayer/
DSkAudioPlayer.cpp14 double SkAudioPlayer::setTime(double t) { in setTime() function in SkAudioPlayer
26 this->setTime(t * this->duration()); in setNormalizedTime()
/external/opencensus-java/testing/src/main/java/io/opencensus/testing/common/
DTestClock.java60 clock.setTime(time); in create()
70 public synchronized void setTime(Timestamp time) { in setTime() method in TestClock
/external/opencensus-java/testing/src/test/java/io/opencensus/testing/common/
DTestClockTest.java36 clock.setTime(Timestamp.create(3, 4)); in setAndGetTime()
51 clock.setTime(Timestamp.create(11, 5)); in measureElapsedTime()
/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp508 cal->setTime(date, status); in test4061476()
535 cal->setTime(d,status); in test4070502()
554 cal->setTime(d,status); in getAssociatedDate()
647 cal->setTime(makeDate(1998, UCAL_JUNE, 24),status); in test4071385()
724 cal->setTime(firstDate,status); in test4083167()
735 cal->setTime(lastDate, status); in test4083167()
880 cal1->setTime(880698639000.0,status); in test4096231()
1074 testCal->setTime(save,status); in test4103271()
1140 testCal->setTime(exp, status); in test4103271()
1192 testCal->setTime(before,status); in test4103271()
[all …]
/external/skqp/samplecode/
DSampleHT.cpp62 this->setTime(now); in spawnAnimation()
84 void setTime(SkMSec time) { fTime = time; } in setTime() function in HTDrawable
160 fArray[i].fDrawable->setTime(fTime); in onAnimate()
/external/icu/icu4c/source/i18n/
Dastro.cpp302 void CalendarAstronomer::setTime(UDate aTime) { in setTime() function in CalendarAstronomer
759 setTime(noon + ((rise ? -6 : 6) * HOUR_MS)); in getSunRiseSet()
769 setTime(t0); in getSunRiseSet()
1315 setTime(fTime + uprv_ceil(deltaT)); in timeOfAngle()
1353 setTime(startTime + (next ? delta : -delta)); in timeOfAngle()
1360 setTime(fTime + uprv_ceil(deltaT)); in timeOfAngle()
1393 setTime(newTime); in riseOrSet()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue49/
DCalendarTest.java35 cal.setTime(new Date(1000000000000L)); in testDumpDstIgnored()
85 cal.setTime(new Date(time)); in check()

12345678910