Home
last modified time | relevance | path

Searched refs:is_cal (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIslamicTest.java872 IslamicCalendar is_cal = new IslamicCalendar(); in TestIslamicUmAlQura() local
873 is_cal.setCalculationType(CalculationType.ISLAMIC_UMALQURA); in TestIslamicUmAlQura()
874 is_cal.setTime(date); in TestIslamicUmAlQura()
875 … SimpleDateFormat formatterIslamic = (SimpleDateFormat) is_cal.getDateTimeFormat(0,0,umalquraLoc); in TestIslamicUmAlQura()
877 String str = formatterIslamic.format(is_cal.getTime()); in TestIslamicUmAlQura()
880 int is_day = is_cal.get(Calendar.DAY_OF_MONTH); in TestIslamicUmAlQura()
881 int is_month = is_cal.get(Calendar.MONTH); in TestIslamicUmAlQura()
882 int is_year = is_cal.get(Calendar.YEAR); in TestIslamicUmAlQura()
984 IslamicCalendar is_cal = new IslamicCalendar(); in TestIslamicTabularDates() local
985 is_cal.setCalculationType(CalculationType.ISLAMIC_CIVIL); in TestIslamicTabularDates()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIslamicTest.java869 IslamicCalendar is_cal = new IslamicCalendar(); in TestIslamicUmAlQura() local
870 is_cal.setCalculationType(CalculationType.ISLAMIC_UMALQURA); in TestIslamicUmAlQura()
871 is_cal.setTime(date); in TestIslamicUmAlQura()
872 … SimpleDateFormat formatterIslamic = (SimpleDateFormat) is_cal.getDateTimeFormat(0,0,umalquraLoc); in TestIslamicUmAlQura()
874 String str = formatterIslamic.format(is_cal.getTime()); in TestIslamicUmAlQura()
877 int is_day = is_cal.get(Calendar.DAY_OF_MONTH); in TestIslamicUmAlQura()
878 int is_month = is_cal.get(Calendar.MONTH); in TestIslamicUmAlQura()
879 int is_year = is_cal.get(Calendar.YEAR); in TestIslamicUmAlQura()
981 IslamicCalendar is_cal = new IslamicCalendar(); in TestIslamicTabularDates() local
982 is_cal.setCalculationType(CalculationType.ISLAMIC_CIVIL); in TestIslamicTabularDates()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcaltest.cpp3384 Calendar* is_cal = Calendar::createInstance(umalquraLoc, status); in TestIslamicUmAlQura() local
3385 is_cal->setTime(date, status); in TestIslamicUmAlQura()
3386 int32_t is_day = is_cal->get(UCAL_DAY_OF_MONTH,status); in TestIslamicUmAlQura()
3387 int32_t is_month = is_cal->get(UCAL_MONTH,status); in TestIslamicUmAlQura()
3388 int32_t is_year = is_cal->get(UCAL_YEAR,status); in TestIslamicUmAlQura()
3393 UDate date2 = is_cal->getTime(status); in TestIslamicUmAlQura()
3421 delete is_cal; in TestIslamicUmAlQura()