Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIslamicTest.java857 IslamicCalendar is_cal = new IslamicCalendar(); in TestIslamicUmAlQura() local
858 is_cal.setCalculationType(CalculationType.ISLAMIC_UMALQURA); in TestIslamicUmAlQura()
859 is_cal.setTime(date); in TestIslamicUmAlQura()
860 … SimpleDateFormat formatterIslamic = (SimpleDateFormat) is_cal.getDateTimeFormat(0,0,umalquraLoc); in TestIslamicUmAlQura()
862 String str = formatterIslamic.format(is_cal.getTime()); in TestIslamicUmAlQura()
865 int is_day = is_cal.get(Calendar.DAY_OF_MONTH); in TestIslamicUmAlQura()
866 int is_month = is_cal.get(Calendar.MONTH); in TestIslamicUmAlQura()
867 int is_year = is_cal.get(Calendar.YEAR); in TestIslamicUmAlQura()
967 IslamicCalendar is_cal = new IslamicCalendar(); in TestIslamicTabularDates() local
968 is_cal.setCalculationType(CalculationType.ISLAMIC_CIVIL); in TestIslamicTabularDates()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcaltest.cpp3308 Calendar* is_cal = Calendar::createInstance(umalquraLoc, status); in TestIslamicUmAlQura() local
3309 is_cal->setTime(date, status); in TestIslamicUmAlQura()
3310 int32_t is_day = is_cal->get(UCAL_DAY_OF_MONTH,status); in TestIslamicUmAlQura()
3311 int32_t is_month = is_cal->get(UCAL_MONTH,status); in TestIslamicUmAlQura()
3312 int32_t is_year = is_cal->get(UCAL_YEAR,status); in TestIslamicUmAlQura()
3317 UDate date2 = is_cal->getTime(status); in TestIslamicUmAlQura()
3345 delete is_cal; in TestIslamicUmAlQura()