Searched refs:rootChineseCalendar (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatTest.java | 4247 Calendar rootChineseCalendar = Calendar.getInstance(new ULocale("root@calendar=chinese")); in TestMonthPatterns() local 4253 rootChineseCalendar.clear(); in TestMonthPatterns() 4254 rootChineseCalendar.set( Calendar.ERA, date.era ); in TestMonthPatterns() 4255 rootChineseCalendar.set( date.year, date.month-1, date.day ); in TestMonthPatterns() 4256 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4259 dfmt.format(rootChineseCalendar, result, fpos); in TestMonthPatterns() 4267 rootChineseCalendar.set( Calendar.YEAR, 1 ); in TestMonthPatterns() 4268 rootChineseCalendar.set( Calendar.MONTH, 0 ); in TestMonthPatterns() 4269 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns() 4270 rootChineseCalendar.set( Calendar.DATE, 1 ); in TestMonthPatterns() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmttst.cpp | 4120 Calendar * rootChineseCalendar = Calendar::createInstance(rootChineseCalLocale, status); in TestMonthPatterns() local 4133 rootChineseCalendar->clear(); in TestMonthPatterns() 4134 rootChineseCalendar->set(UCAL_ERA, datePtr->era); in TestMonthPatterns() 4135 rootChineseCalendar->set(datePtr->year, datePtr->month-1, datePtr->day); in TestMonthPatterns() 4136 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, datePtr->isLeapMonth); in TestMonthPatterns() 4139 dmft->format(*rootChineseCalendar, result, fpos); in TestMonthPatterns() 4147 rootChineseCalendar->set(UCAL_YEAR, 1); in TestMonthPatterns() 4148 rootChineseCalendar->set(UCAL_MONTH, 0); in TestMonthPatterns() 4149 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, 0); in TestMonthPatterns() 4150 rootChineseCalendar->set(UCAL_DATE, 1); in TestMonthPatterns() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatTest.java | 4250 Calendar rootChineseCalendar = Calendar.getInstance(new ULocale("root@calendar=chinese")); in TestMonthPatterns() local 4256 rootChineseCalendar.clear(); in TestMonthPatterns() 4257 rootChineseCalendar.set( Calendar.ERA, date.era ); in TestMonthPatterns() 4258 rootChineseCalendar.set( date.year, date.month-1, date.day ); in TestMonthPatterns() 4259 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4262 dfmt.format(rootChineseCalendar, result, fpos); in TestMonthPatterns() 4270 rootChineseCalendar.set( Calendar.YEAR, 1 ); in TestMonthPatterns() 4271 rootChineseCalendar.set( Calendar.MONTH, 0 ); in TestMonthPatterns() 4272 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns() 4273 rootChineseCalendar.set( Calendar.DATE, 1 ); in TestMonthPatterns() [all …]
|