Searched refs:rootChineseCalendar (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | dtfmttst.cpp | 4102 Calendar * rootChineseCalendar = Calendar::createInstance(rootChineseCalLocale, status); in TestMonthPatterns() local 4115 rootChineseCalendar->clear(); in TestMonthPatterns() 4116 rootChineseCalendar->set(UCAL_ERA, datePtr->era); in TestMonthPatterns() 4117 rootChineseCalendar->set(datePtr->year, datePtr->month-1, datePtr->day); in TestMonthPatterns() 4118 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, datePtr->isLeapMonth); in TestMonthPatterns() 4121 dmft->format(*rootChineseCalendar, result, fpos); in TestMonthPatterns() 4129 rootChineseCalendar->set(UCAL_YEAR, 1); in TestMonthPatterns() 4130 rootChineseCalendar->set(UCAL_MONTH, 0); in TestMonthPatterns() 4131 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, 0); in TestMonthPatterns() 4132 rootChineseCalendar->set(UCAL_DATE, 1); in TestMonthPatterns() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatTest.java | 4185 Calendar rootChineseCalendar = Calendar.getInstance(new ULocale("root@calendar=chinese")); in TestMonthPatterns() local 4191 rootChineseCalendar.clear(); in TestMonthPatterns() 4192 rootChineseCalendar.set( Calendar.ERA, date.era ); in TestMonthPatterns() 4193 rootChineseCalendar.set( date.year, date.month-1, date.day ); in TestMonthPatterns() 4194 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4197 dfmt.format(rootChineseCalendar, result, fpos); in TestMonthPatterns() 4205 rootChineseCalendar.set( Calendar.YEAR, 1 ); in TestMonthPatterns() 4206 rootChineseCalendar.set( Calendar.MONTH, 0 ); in TestMonthPatterns() 4207 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns() 4208 rootChineseCalendar.set( Calendar.DATE, 1 ); in TestMonthPatterns() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatTest.java | 4181 Calendar rootChineseCalendar = Calendar.getInstance(new ULocale("root@calendar=chinese")); in TestMonthPatterns() local 4187 rootChineseCalendar.clear(); in TestMonthPatterns() 4188 rootChineseCalendar.set( Calendar.ERA, date.era ); in TestMonthPatterns() 4189 rootChineseCalendar.set( date.year, date.month-1, date.day ); in TestMonthPatterns() 4190 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4193 dfmt.format(rootChineseCalendar, result, fpos); in TestMonthPatterns() 4201 rootChineseCalendar.set( Calendar.YEAR, 1 ); in TestMonthPatterns() 4202 rootChineseCalendar.set( Calendar.MONTH, 0 ); in TestMonthPatterns() 4203 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns() 4204 rootChineseCalendar.set( Calendar.DATE, 1 ); in TestMonthPatterns() [all …]
|