Home
last modified time | relevance | path

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

123456789

/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.java188 calendar.setTime(date); in isOn()
191 calendar.setTime(computeInYear(calendar.getTime(), calendar)); in isOn()
221 calendar.setTime(start); in doFirstBetween()
254 cal.setTime(date); in computeInYear()
/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.java174 calendar.setTime(date); in isOn()
177 calendar.setTime(computeInYear(calendar.getTime(), calendar)); in isOn()
207 calendar.setTime(start); in doFirstBetween()
240 cal.setTime(date); in computeInYear()
/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()
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()
DJapaneseTest.java166 cal.setTime(aDate); in Test3860()
199 cal2.setTime(aDate); in Test3860()
348 jcal.setTime(c.getTime()); in TestJapaneseYear3282()
350 c.setTime(jcal.getTime()); in TestJapaneseYear3282()
361 c.setTime(date); in TestJapaneseYear3282()
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/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()
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 …]
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()
DJapaneseTest.java163 cal.setTime(aDate); in Test3860()
196 cal2.setTime(aDate); in Test3860()
345 jcal.setTime(c.getTime()); in TestJapaneseYear3282()
347 c.setTime(jcal.getTime()); in TestJapaneseYear3282()
358 c.setTime(date); in TestJapaneseYear3282()
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/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/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/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/icu4c/source/test/intltest/
Dcalregts.cpp504 cal->setTime(date, status); in test4061476()
531 cal->setTime(d,status); in test4070502()
550 cal->setTime(d,status); in getAssociatedDate()
643 cal->setTime(makeDate(1998, UCAL_JUNE, 24),status); in test4071385()
720 cal->setTime(firstDate,status); in test4083167()
731 cal->setTime(lastDate, status); in test4083167()
876 cal1->setTime(880698639000.0,status); in test4096231()
1070 testCal->setTime(save,status); in test4103271()
1136 testCal->setTime(exp, status); in test4103271()
1188 testCal->setTime(before,status); in test4103271()
[all …]
Dcaltest.cpp400 cal->setTime(when, status); in TestGenericAPI()
401 cal2->setTime(when, status); in TestGenericAPI()
414 cal2->setTime(when + 1000, status); in TestGenericAPI()
952 cal->setTime(date, status); in test4064654()
988 cal->setTime(d, status); in TestAddSetOrder621()
1018 cal->setTime(d, status); in TestAddSetOrder621()
1300 cal->setTime(Calendar::getNow(), status); in TestSecondsZero121()
1438 gc->setTime(d, status); in TestEpochStartFields()
1447 c->setTime(d, status); in TestEpochStartFields()
1598 cal.setTime(t, status); in yearAddTest()
[all …]
/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/skqp/samplecode/
DSampleHT.cpp63 this->setTime(now); in spawnAnimation()
85 void setTime(SkMSec time) { fTime = time; } in setTime() function in HTDrawable
161 fArray[i].fDrawable->setTime(fTime); in onAnimate()
/external/skia/samplecode/
DSampleHT.cpp63 this->setTime(now); in spawnAnimation()
85 void setTime(SkMSec time) { fTime = time; } in setTime() function in HTDrawable
161 fArray[i].fDrawable->setTime(fTime); in onAnimate()
/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()
/external/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