Lines Matching refs:rootChineseCalendar
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()
4152 dmft->parse(result, *rootChineseCalendar, ppos); in TestMonthPatterns()
4153 int32_t year = rootChineseCalendar->get(UCAL_YEAR, status); in TestMonthPatterns()
4154 int32_t month = rootChineseCalendar->get(UCAL_MONTH, status) + 1; in TestMonthPatterns()
4155 … int32_t isLeapMonth = rootChineseCalendar->get(UCAL_IS_LEAP_MONTH, status); in TestMonthPatterns()
4156 int32_t day = rootChineseCalendar->get(UCAL_DATE, status); in TestMonthPatterns()
4172 delete rootChineseCalendar; in TestMonthPatterns()