OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:testCal
(Results
1 - 7
of
7
) sorted by null
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
TimeZoneRegression.java
183
GregorianCalendar
testCal
= (GregorianCalendar)Calendar.getInstance();
201
testCal
.setTimeZone((TimeZone) testData[i]);
205
testCal
.setTime(new Date(t));
206
if (!checkCalendar314(
testCal
, (TimeZone) testData[i]))
214
boolean checkCalendar314(GregorianCalendar
testCal
, TimeZone testTZ) {
215
// GregorianCalendar
testCal
= (GregorianCalendar)aCal.clone();
224
int millis =
testCal
.get(Calendar.MILLISECOND) +
225
1000 * (
testCal
.get(Calendar.SECOND) +
226
60 * (
testCal
.get(Calendar.MINUTE) +
227
60 * (
testCal
.get(Calendar.HOUR_OF_DAY))))
[
all
...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
TimeZoneRegression.java
179
GregorianCalendar
testCal
= (GregorianCalendar)Calendar.getInstance();
197
testCal
.setTimeZone((TimeZone) testData[i]);
201
testCal
.setTime(new Date(t));
202
if (!checkCalendar314(
testCal
, (TimeZone) testData[i]))
210
boolean checkCalendar314(GregorianCalendar
testCal
, TimeZone testTZ) {
211
// GregorianCalendar
testCal
= (GregorianCalendar)aCal.clone();
220
int millis =
testCal
.get(Calendar.MILLISECOND) +
221
1000 * (
testCal
.get(Calendar.SECOND) +
222
60 * (
testCal
.get(Calendar.MINUTE) +
223
60 * (
testCal
.get(Calendar.HOUR_OF_DAY))))
[
all
...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
CalendarRegression.java
582
GregorianCalendar
testCal
= (GregorianCalendar)Calendar.getInstance();
583
testCal
.clear();
584
sdf.setCalendar(
testCal
);
589
testCal
.setMinimalDaysInFirstWeek(minDays);
590
testCal
.setFirstDayOfWeek(firstDay);
597
testCal
.set(j,11,25);
599
testCal
.add(Calendar.DATE,1);
601
int actWOY =
testCal
.get(Calendar.WEEK_OF_YEAR);
603
Date d =
testCal
.getTime();
623
testCal
.setFirstDayOfWeek(Calendar.SUNDAY)
[
all
...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
CalendarRegression.java
578
GregorianCalendar
testCal
= (GregorianCalendar)Calendar.getInstance();
579
testCal
.clear();
580
sdf.setCalendar(
testCal
);
585
testCal
.setMinimalDaysInFirstWeek(minDays);
586
testCal
.setFirstDayOfWeek(firstDay);
593
testCal
.set(j,11,25);
595
testCal
.add(Calendar.DATE,1);
597
int actWOY =
testCal
.get(Calendar.WEEK_OF_YEAR);
599
Date d =
testCal
.getTime();
619
testCal
.setFirstDayOfWeek(Calendar.SUNDAY)
[
all
...]
/external/icu/icu4c/source/test/intltest/
tzregts.cpp
311
GregorianCalendar *
testCal
= (GregorianCalendar*)Calendar::createInstance(status);
314
delete
testCal
;
331
//
testCal
->setTimeZone((TimeZone) testData[i]);
332
testCal
->setTimeZone(*PST);
335
while(
testCal
->getTime(status) < end) {
336
testCal
->setTime(t, status);
337
if ( ! checkCalendar314(
testCal
, PST))
345
delete
testCal
;
350
TimeZoneRegressionTest::checkCalendar314(GregorianCalendar *
testCal
, TimeZone *testTZ)
353
// GregorianCalendar
testCal
= (GregorianCalendar)aCal.clone();
[
all
...]
calregts.cpp
[
all
...]
/libcore/luni/src/test/java/libcore/java/sql/
OldResultSetGetterTests.java
411
GregorianCalendar
testCal
= new GregorianCalendar(1799, Calendar.MAY, 26, 0, 0);
412
Date input = new Date(
testCal
.getTimeInMillis());
431
GregorianCalendar
testCal
= new GregorianCalendar(1799, Calendar.MAY, 26, 0, 0);
432
Date input = new Date(
testCal
.getTimeInMillis());
433
Date d = res.getDate(15,
testCal
);
439
d = res.getDate(500,
testCal
);
448
d = res.getDate(15,
testCal
);
453
GregorianCalendar
testCal
= new GregorianCalendar(1799, Calendar.MAY, 26, 0, 0);
454
Date input = new Date(
testCal
.getTimeInMillis());
473
GregorianCalendar
testCal
= new GregorianCalendar(1799, Calendar.MAY, 26, 0, 0)
[
all
...]
Completed in 934 milliseconds