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.java4338 Calendar rootChineseCalendar = Calendar.getInstance(new ULocale("root@calendar=chinese")); in TestMonthPatterns() local
4344 rootChineseCalendar.clear(); in TestMonthPatterns()
4345 rootChineseCalendar.set( Calendar.ERA, date.era ); in TestMonthPatterns()
4346 rootChineseCalendar.set( date.year, date.month-1, date.day ); in TestMonthPatterns()
4347 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns()
4350 dfmt.format(rootChineseCalendar, result, fpos); in TestMonthPatterns()
4358 rootChineseCalendar.set( Calendar.YEAR, 1 ); in TestMonthPatterns()
4359 rootChineseCalendar.set( Calendar.MONTH, 0 ); in TestMonthPatterns()
4360 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns()
4361 rootChineseCalendar.set( Calendar.DATE, 1 ); in TestMonthPatterns()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4335 Calendar rootChineseCalendar = Calendar.getInstance(new ULocale("root@calendar=chinese")); in TestMonthPatterns() local
4341 rootChineseCalendar.clear(); in TestMonthPatterns()
4342 rootChineseCalendar.set( Calendar.ERA, date.era ); in TestMonthPatterns()
4343 rootChineseCalendar.set( date.year, date.month-1, date.day ); in TestMonthPatterns()
4344 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns()
4347 dfmt.format(rootChineseCalendar, result, fpos); in TestMonthPatterns()
4355 rootChineseCalendar.set( Calendar.YEAR, 1 ); in TestMonthPatterns()
4356 rootChineseCalendar.set( Calendar.MONTH, 0 ); in TestMonthPatterns()
4357 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns()
4358 rootChineseCalendar.set( Calendar.DATE, 1 ); in TestMonthPatterns()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp4184 Calendar * rootChineseCalendar = Calendar::createInstance(rootChineseCalLocale, status); in TestMonthPatterns() local
4197 rootChineseCalendar->clear(); in TestMonthPatterns()
4198 rootChineseCalendar->set(UCAL_ERA, datePtr->era); in TestMonthPatterns()
4199 rootChineseCalendar->set(datePtr->year, datePtr->month-1, datePtr->day); in TestMonthPatterns()
4200 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, datePtr->isLeapMonth); in TestMonthPatterns()
4203 dmft->format(*rootChineseCalendar, result, fpos); in TestMonthPatterns()
4211 rootChineseCalendar->set(UCAL_YEAR, 1); in TestMonthPatterns()
4212 rootChineseCalendar->set(UCAL_MONTH, 0); in TestMonthPatterns()
4213 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, 0); in TestMonthPatterns()
4214 rootChineseCalendar->set(UCAL_DATE, 1); in TestMonthPatterns()
[all …]