Home
last modified time | relevance | path

Searched refs:initDay (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIslamicTest.java350 private void setAndTestCalendar(IslamicCalendar cal, int initMonth, int initDay, int initYear) { in setAndTestCalendar() argument
353 cal.set(initYear, initMonth, initDay); in setAndTestCalendar()
357 if(initDay != day || initMonth != month || initYear != year) in setAndTestCalendar()
359 errln("year init values:\tmonth "+initMonth+"\tday "+initDay+"\tyear "+initYear); in setAndTestCalendar()
822 … int day=0, month=0, year=0, initDay = 27, initMonth = IslamicCalendar.RAJAB, initYear = 1434; in TestIslamicUmAlQura() local
834 initDay = 5; in TestIslamicUmAlQura()
837 setAndTestCalendar( tstCal, initMonth, initDay, initYear); in TestIslamicUmAlQura()
844 if(day != (initDay + loopCnt - 1) || month != IslamicCalendar.RABI_2 || year != 1434) in TestIslamicUmAlQura()
853 initDay = 30; in TestIslamicUmAlQura()
854 setAndTestCalendar( tstCal, initMonth, initDay, initYear); in TestIslamicUmAlQura()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIslamicTest.java347 private void setAndTestCalendar(IslamicCalendar cal, int initMonth, int initDay, int initYear) { in setAndTestCalendar() argument
350 cal.set(initYear, initMonth, initDay); in setAndTestCalendar()
354 if(initDay != day || initMonth != month || initYear != year) in setAndTestCalendar()
356 errln("year init values:\tmonth "+initMonth+"\tday "+initDay+"\tyear "+initYear); in setAndTestCalendar()
819 … int day=0, month=0, year=0, initDay = 27, initMonth = IslamicCalendar.RAJAB, initYear = 1434; in TestIslamicUmAlQura() local
831 initDay = 5; in TestIslamicUmAlQura()
834 setAndTestCalendar( tstCal, initMonth, initDay, initYear); in TestIslamicUmAlQura()
841 if(day != (initDay + loopCnt - 1) || month != IslamicCalendar.RABI_2 || year != 1434) in TestIslamicUmAlQura()
850 initDay = 30; in TestIslamicUmAlQura()
851 setAndTestCalendar( tstCal, initMonth, initDay, initYear); in TestIslamicUmAlQura()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcaltest.h252 …void setAndTestCalendar(Calendar* cal, int32_t initMonth, int32_t initDay, int32_t initYear, UErro…
Dcaltest.cpp2862 void CalendarTest::setAndTestCalendar(Calendar* cal, int32_t initMonth, int32_t initDay, int32_t in… in setAndTestCalendar() argument
2865 cal->set(initYear, initMonth, initDay); in setAndTestCalendar()
2872 if(initDay != day || initMonth != month || initYear != year) in setAndTestCalendar()
2874 errln(" year init values:\tmonth %i\tday %i\tyear %i", initMonth, initDay, initYear); in setAndTestCalendar()
3335 … int32_t day=0, month=0, year=0, initDay = 27, initMonth = IslamicCalendar::RAJAB, initYear = 1434; in TestIslamicUmAlQura() local
3343 initDay = 5; in TestIslamicUmAlQura()
3346 setAndTestCalendar( tstCal, initMonth, initDay, initYear, status); in TestIslamicUmAlQura()
3358 if(day != (initDay + loopCnt - 1) || month != IslamicCalendar::RABI_2 || year != 1434) in TestIslamicUmAlQura()
3364 initDay = 30; in TestIslamicUmAlQura()
3365 setAndTestCalendar( tstCal, initMonth, initDay, initYear, status); in TestIslamicUmAlQura()
[all …]