Home
last modified time | relevance | path

Searched refs:cal1 (Results 1 – 19 of 19) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp189 GregorianCalendar *cal1 = new GregorianCalendar(status) ; in test4028518() local
192 delete cal1; in test4028518()
196 GregorianCalendar *cal2 = (GregorianCalendar*) cal1->clone() ; in test4028518()
198 printdate(cal1, "cal1: ") ; in test4028518()
200 cal1->add(UCAL_DATE, 1, status) ; in test4028518()
202 printdate(cal1, "cal1 after adding 1 day:") ; in test4028518()
204 delete cal1; in test4028518()
213 LocalPointer<GregorianCalendar> cal1(new GregorianCalendar(status), status); in Test9019() local
219 cal1->set(UCAL_HOUR, 1); in Test9019()
221 cal1->clear(); in Test9019()
[all …]
Dcaltest.cpp3436 LocalPointer<Calendar> cal1(Calendar::createInstance(LOCALE_PAIRS[i], status)); in TestWeekData() local
3441 UCalendarDaysOfWeek dow1 = cal1->getFirstDayOfWeek(status); in TestWeekData()
3447 uint8_t minDays1 = cal1->getMinimalDaysInFirstWeek(); in TestWeekData()
3454 UCalendarWeekdayType wdt1 = cal1->getDayOfWeekType((UCalendarDaysOfWeek)d, status); in TestWeekData()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java473 GregorianCalendar cal1 = new GregorianCalendar(1997, 10, 11, 10, 20, 40); in Test4092362() local
480 logln( " Cal1 = " + cal1.getTime().getTime() ); in Test4092362()
481 logln( " Cal1 time in ms = " + cal1.get(Calendar.MILLISECOND) ); in Test4092362()
495 if( !cal1.equals( cal2 ) ) in Test4092362()
513 Calendar cal1 = new GregorianCalendar(PST); in Test4096231() local
514 cal1.setTime(new Date(880698639000L)); in Test4096231()
516 logln("PST 1 is: " + (p=cal1.get(Calendar.HOUR_OF_DAY))); in Test4096231()
517 cal1.setTimeZone(GMT); in Test4096231()
521 logln("GMT 1 is: " + (h1=cal1.get(Calendar.HOUR_OF_DAY))); in Test4096231()
522 cal1.setTime(new Date(880698639000L)); in Test4096231()
[all …]
DDangiTest.java395 DangiCalendar cal1 = new DangiCalendar(); in TestCoverage() local
396 cal1.setTime(d); in TestCoverage()
403 assertEquals("DangiCalendar() and DangiCalendar(Date)", cal1, cal2); in TestCoverage()
404 assertEquals("DangiCalendar() and DangiCalendar(TimeZone,ULocale)", cal1, cal3); in TestCoverage()
407 String type = cal1.getType(); in TestCoverage()
DIBMCalendarTest.java1773 Calendar cal1 = Calendar.getInstance(new ULocale(LOCALE_PAIRS[i])); in TestWeekData() local
1777 int dow1 = cal1.getFirstDayOfWeek(); in TestWeekData()
1784 int minDays1 = cal1.getMinimalDaysInFirstWeek(); in TestWeekData()
1792 int wdt1 = cal1.getDayOfWeekType(d); in TestWeekData()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegressionTest.java476 GregorianCalendar cal1 = new GregorianCalendar(1997, 10, 11, 10, 20, 40); in Test4092362() local
483 logln( " Cal1 = " + cal1.getTime().getTime() ); in Test4092362()
484 logln( " Cal1 time in ms = " + cal1.get(Calendar.MILLISECOND) ); in Test4092362()
498 if( !cal1.equals( cal2 ) ) in Test4092362()
516 Calendar cal1 = new GregorianCalendar(PST); in Test4096231() local
517 cal1.setTime(new Date(880698639000L)); in Test4096231()
519 logln("PST 1 is: " + (p=cal1.get(Calendar.HOUR_OF_DAY))); in Test4096231()
520 cal1.setTimeZone(GMT); in Test4096231()
524 logln("GMT 1 is: " + (h1=cal1.get(Calendar.HOUR_OF_DAY))); in Test4096231()
525 cal1.setTime(new Date(880698639000L)); in Test4096231()
[all …]
DDangiTest.java398 DangiCalendar cal1 = new DangiCalendar(); in TestCoverage() local
399 cal1.setTime(d); in TestCoverage()
406 assertEquals("DangiCalendar() and DangiCalendar(Date)", cal1, cal2); in TestCoverage()
407 assertEquals("DangiCalendar() and DangiCalendar(TimeZone,ULocale)", cal1, cal3); in TestCoverage()
410 String type = cal1.getType(); in TestCoverage()
DIBMCalendarTest.java1776 Calendar cal1 = Calendar.getInstance(new ULocale(LOCALE_PAIRS[i])); in TestWeekData() local
1780 int dow1 = cal1.getFirstDayOfWeek(); in TestWeekData()
1787 int minDays1 = cal1.getMinimalDaysInFirstWeek(); in TestWeekData()
1795 int wdt1 = cal1.getDayOfWeekType(d); in TestWeekData()
/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp97 Calendar *cal1 = Calendar::createInstance(status); in dtitvfmtCustomized() local
98 cal1->set(2007,9,10,10,10,10); in dtitvfmtCustomized()
104 new DateInterval(cal1->getTime(status),cal2->getTime(status)), in dtitvfmtCustomized()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DCalendarTest.java26 Calendar cal1 = Calendar.getInstance(); in testHashCode() local
31 cal1.setTimeInMillis(t); in testHashCode()
36 testEHCS(cal1, cal2, cal3); in testHashCode()
/external/icu/icu4c/source/i18n/
Ducal.cpp436 ucal_equivalentTo( const UCalendar* cal1, in ucal_equivalentTo() argument
440 return ((Calendar*)cal1)->isEquivalentTo(*((Calendar*)cal2)); in ucal_equivalentTo()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java609 Calendar cal1 = Calendar.getInstance(); in TestRuleAPI() local
610 cal1.set(1990, Calendar.JANUARY, 1); in TestRuleAPI()
613 _testUsingBinarySearch(zone, cal1.getTimeInMillis(), in TestRuleAPI()
615 cal1.set(1990, Calendar.JUNE, 1); in TestRuleAPI()
617 _testUsingBinarySearch(zone, cal1.getTimeInMillis(), in TestRuleAPI()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneTest.java612 Calendar cal1 = Calendar.getInstance(); in TestRuleAPI() local
613 cal1.set(1990, Calendar.JANUARY, 1); in TestRuleAPI()
616 _testUsingBinarySearch(zone, cal1.getTimeInMillis(), in TestRuleAPI()
618 cal1.set(1990, Calendar.JUNE, 1); in TestRuleAPI()
620 _testUsingBinarySearch(zone, cal1.getTimeInMillis(), in TestRuleAPI()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h1088 ucal_equivalentTo(const UCalendar* cal1,
/external/icu/libandroidicu/include/unicode/
Ducal.h1088 ucal_equivalentTo(const UCalendar* cal1,
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java656 Calendar cal1 = gp.getCalendar(); in TestCalendar() local
657 if (cal1.getFirstDayOfWeek() == cal.getFirstDayOfWeek()) { in TestCalendar()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DGlobalizationPreferencesTest.java659 Calendar cal1 = gp.getCalendar(); in TestCalendar() local
660 if (cal1.getFirstDayOfWeek() == cal.getFirstDayOfWeek()) { in TestCalendar()
/external/icu/libandroidicu/static_shim/
Dshim.cpp748 UBool ucal_equivalentTo_android(const UCalendar * cal1, const UCalendar * cal2) { in ucal_equivalentTo_android() argument
749 return ucal_equivalentTo(cal1, cal2); in ucal_equivalentTo_android()
/external/hyphenation-patterns/hu/
Dhyph-hu.pat.txt9695 cal1éte