Home
last modified time | relevance | path

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

123456789

/third_party/jerryscript/tests/jerry/
Ddate-setters.js23 assert (d.setTime(0) == 0);
24 d.setTime(0);
25 assert (d.setTime(day) == day);
29 d.setTime(0);
34 d.setTime(0);
39 d.setTime(0);
42 d.setTime(0);
48 d.setTime(0);
51 d.setTime(0);
57 d.setTime(0);
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DSimpleDateRule.java120 c.setTime(date); in isOn()
124 c.setTime(computeInYear(c.get(Calendar.YEAR), c)); in isOn()
149 c.setTime(start); in doFirstBetween()
188 c.setTime(c.getTime()); // JDK 1.1.2 workaround in computeInYear()
DEasterHoliday.java171 calendar.setTime(date); in isOn()
174 calendar.setTime(computeInYear(calendar.getTime(), calendar)); in isOn()
204 calendar.setTime(start); in doFirstBetween()
237 cal.setTime(date); in computeInYear()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
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 …]
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()
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 …]
/third_party/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 …]
/third_party/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()
/third_party/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);
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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);
/third_party/icu/icu4c/source/test/intltest/
Dcalregts.cpp510 cal->setTime(date, status); in test4061476()
537 cal->setTime(d,status); in test4070502()
556 cal->setTime(d,status); in getAssociatedDate()
649 cal->setTime(makeDate(1998, UCAL_JUNE, 24),status); in test4071385()
726 cal->setTime(firstDate,status); in test4083167()
737 cal->setTime(lastDate, status); in test4083167()
882 cal1->setTime(880698639000.0,status); in test4096231()
1076 testCal->setTime(save,status); in test4103271()
1142 testCal->setTime(exp, status); in test4103271()
1194 testCal->setTime(before,status); in test4103271()
[all …]
Dcaltest.cpp417 cal->setTime(when, status); in TestGenericAPI()
418 cal2->setTime(when, status); in TestGenericAPI()
431 cal2->setTime(when + 1000, status); in TestGenericAPI()
969 cal->setTime(date, status); in test4064654()
1005 cal->setTime(d, status); in TestAddSetOrder621()
1035 cal->setTime(d, status); in TestAddSetOrder621()
1321 cal->setTime(Calendar::getNow(), status); in TestSecondsZero121()
1459 gc->setTime(d, status); in TestEpochStartFields()
1468 c->setTime(d, status); in TestEpochStartFields()
1619 cal.setTime(t, status); in yearAddTest()
[all …]
Dincaltst.cpp223 cal.setTime(D, status); in quasiGregorianTest()
661 cal2->setTime(aDate, s2); in TestJapanese3860()
696 cal2->setTime(aDate, s2); in TestJapanese3860()
878 cal->setTime(gregTime, status); in TestPersian()
1009 g->setTime(test, status); in checkConsistency()
1014 base->setTime(test, status); in checkConsistency()
1142 cal->setTime(g->getTime(status), status); in TestBug21043Indian()
1161 cal->setTime(g->getTime(status), status); in TestBug21044Hebrew()
1193 cal->setTime(g->getTime(status), status); in TestBug21045Islamic()
1211 cal->setTime(g->getTime(status), status); in TestBug21046IslamicUmalqura()
/third_party/skia/third_party/externals/icu/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()
/third_party/node/deps/icu-small/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()
/third_party/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()
/third_party/skia/modules/audioplayer/
DSkAudioPlayer.cpp14 double SkAudioPlayer::setTime(double t) { in setTime() function in SkAudioPlayer
26 this->setTime(t * this->duration()); in setNormalizedTime()
/third_party/typescript/tests/baselines/reference/
Dlibrary_DatePrototypeProperties.js32 Date.prototype.setTime(0); method in Date
81 Date.prototype.setTime(0); method in Date
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayCalendarDemo.java462 fCalendar.setTime(fStartOfMonth); in add()
490 fCalendar.setTime(dateInMonth); // TODO: synchronization in startOfMonth()
521 c.setTime(fStartOfMonth); in calculate()
555 c.setTime(d); in calculate()
560 d.setTime( d.getTime() + 1000 ); // "d++" in calculate()
660 c.setTime(fStartOfMonth); in paint()

123456789