Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp181 GregorianCalendar *cal1 = new GregorianCalendar(status) ; in test4028518() local
184 delete cal1; in test4028518()
188 GregorianCalendar *cal2 = (GregorianCalendar*) cal1->clone() ; in test4028518()
190 printdate(cal1, "cal1: ") ; in test4028518()
192 cal1->add(UCAL_DATE, 1, status) ; in test4028518()
194 printdate(cal1, "cal1 after adding 1 day:") ; in test4028518()
196 delete cal1; in test4028518()
205 LocalPointer<GregorianCalendar> cal1(new GregorianCalendar(status), status); in Test9019() local
211 cal1->set(UCAL_HOUR, 1); in Test9019()
213 cal1->clear(); in Test9019()
[all …]
Dcaltest.cpp3427 LocalPointer<Calendar> cal1(Calendar::createInstance(LOCALE_PAIRS[i], status)); in TestWeekData() local
3432 UCalendarDaysOfWeek dow1 = cal1->getFirstDayOfWeek(status); in TestWeekData()
3438 uint8_t minDays1 = cal1->getMinimalDaysInFirstWeek(); in TestWeekData()
3445 UCalendarWeekdayType wdt1 = cal1->getDayOfWeekType((UCalendarDaysOfWeek)d, status); in TestWeekData()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegression.java453 GregorianCalendar cal1 = new GregorianCalendar(1997, 10, 11, 10, 20, 40); in Test4092362() local
460 logln( " Cal1 = " + cal1.getTime().getTime() ); in Test4092362()
461 logln( " Cal1 time in ms = " + cal1.get(Calendar.MILLISECOND) ); in Test4092362()
475 if( !cal1.equals( cal2 ) ) in Test4092362()
491 Calendar cal1 = new GregorianCalendar(PST); in Test4096231() local
492 cal1.setTime(new Date(880698639000L)); in Test4096231()
494 logln("PST 1 is: " + (p=cal1.get(Calendar.HOUR_OF_DAY))); in Test4096231()
495 cal1.setTimeZone(GMT); in Test4096231()
499 logln("GMT 1 is: " + (h1=cal1.get(Calendar.HOUR_OF_DAY))); in Test4096231()
500 cal1.setTime(new Date(880698639000L)); in Test4096231()
[all …]
DDangiTest.java385 DangiCalendar cal1 = new DangiCalendar(); in TestCoverage() local
386 cal1.setTime(d); in TestCoverage()
393 assertEquals("DangiCalendar() and DangiCalendar(Date)", cal1, cal2); in TestCoverage()
394 assertEquals("DangiCalendar() and DangiCalendar(TimeZone,ULocale)", cal1, cal3); in TestCoverage()
397 String type = cal1.getType(); in TestCoverage()
DIBMCalendarTest.java1679 Calendar cal1 = Calendar.getInstance(new ULocale(LOCALE_PAIRS[i])); in TestWeekData() local
1683 int dow1 = cal1.getFirstDayOfWeek(); in TestWeekData()
1690 int minDays1 = cal1.getMinimalDaysInFirstWeek(); in TestWeekData()
1698 int wdt1 = cal1.getDayOfWeekType(d); in TestWeekData()
/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp94 Calendar *cal1 = Calendar::createInstance(status); in dtitvfmtCustomized() local
95 cal1->set(2007,9,10,10,10,10); in dtitvfmtCustomized()
101 new DateInterval(cal1->getTime(status),cal2->getTime(status)), in dtitvfmtCustomized()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java601 Calendar cal1 = Calendar.getInstance(); in TestRuleAPI() local
602 cal1.set(1990, Calendar.JANUARY, 1); in TestRuleAPI()
605 _testUsingBinarySearch(zone, cal1.getTimeInMillis(), in TestRuleAPI()
607 cal1.set(1990, Calendar.JUNE, 1); in TestRuleAPI()
609 _testUsingBinarySearch(zone, cal1.getTimeInMillis(), in TestRuleAPI()
/external/icu/icu4c/source/i18n/
Ducal.cpp433 ucal_equivalentTo( const UCalendar* cal1, in ucal_equivalentTo() argument
437 return ((Calendar*)cal1)->isEquivalentTo(*((Calendar*)cal2)); in ucal_equivalentTo()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h1071 ucal_equivalentTo(const UCalendar* cal1,
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java649 Calendar cal1 = gp.getCalendar(); in TestCalendar() local
650 if (cal1.getFirstDayOfWeek() == cal.getFirstDayOfWeek()) { in TestCalendar()
/external/owasp/sanitizer/tools/findbugs/lib/
Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/hyphenation-patterns/hu/
Dhyph-hu.pat.txt9695 cal1éte