Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java4243 Calendar rootChineseCalendar = Calendar.getInstance(new ULocale("root@calendar=chinese")); in TestMonthPatterns() local
4249 rootChineseCalendar.clear(); in TestMonthPatterns()
4250 rootChineseCalendar.set( Calendar.ERA, date.era ); in TestMonthPatterns()
4251 rootChineseCalendar.set( date.year, date.month-1, date.day ); in TestMonthPatterns()
4252 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns()
4255 dfmt.format(rootChineseCalendar, result, fpos); in TestMonthPatterns()
4263 rootChineseCalendar.set( Calendar.YEAR, 1 ); in TestMonthPatterns()
4264 rootChineseCalendar.set( Calendar.MONTH, 0 ); in TestMonthPatterns()
4265 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns()
4266 rootChineseCalendar.set( Calendar.DATE, 1 ); in TestMonthPatterns()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4242 Calendar rootChineseCalendar = Calendar.getInstance(new ULocale("root@calendar=chinese")); in TestMonthPatterns() local
4248 rootChineseCalendar.clear(); in TestMonthPatterns()
4249 rootChineseCalendar.set( Calendar.ERA, date.era ); in TestMonthPatterns()
4250 rootChineseCalendar.set( date.year, date.month-1, date.day ); in TestMonthPatterns()
4251 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns()
4254 dfmt.format(rootChineseCalendar, result, fpos); in TestMonthPatterns()
4262 rootChineseCalendar.set( Calendar.YEAR, 1 ); in TestMonthPatterns()
4263 rootChineseCalendar.set( Calendar.MONTH, 0 ); in TestMonthPatterns()
4264 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns()
4265 rootChineseCalendar.set( Calendar.DATE, 1 ); in TestMonthPatterns()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp4115 Calendar * rootChineseCalendar = Calendar::createInstance(rootChineseCalLocale, status); in TestMonthPatterns() local
4128 rootChineseCalendar->clear(); in TestMonthPatterns()
4129 rootChineseCalendar->set(UCAL_ERA, datePtr->era); in TestMonthPatterns()
4130 rootChineseCalendar->set(datePtr->year, datePtr->month-1, datePtr->day); in TestMonthPatterns()
4131 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, datePtr->isLeapMonth); in TestMonthPatterns()
4134 dmft->format(*rootChineseCalendar, result, fpos); in TestMonthPatterns()
4142 rootChineseCalendar->set(UCAL_YEAR, 1); in TestMonthPatterns()
4143 rootChineseCalendar->set(UCAL_MONTH, 0); in TestMonthPatterns()
4144 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, 0); in TestMonthPatterns()
4145 rootChineseCalendar->set(UCAL_DATE, 1); in TestMonthPatterns()
[all …]