Lines Matching refs:rootChineseCalendar
4102 Calendar * rootChineseCalendar = Calendar::createInstance(rootChineseCalLocale, status);
4115 rootChineseCalendar->clear();
4116 rootChineseCalendar->set(UCAL_ERA, datePtr->era);
4117 rootChineseCalendar->set(datePtr->year, datePtr->month-1, datePtr->day);
4118 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, datePtr->isLeapMonth);
4121 dmft->format(*rootChineseCalendar, result, fpos);
4129 rootChineseCalendar->set(UCAL_YEAR, 1);
4130 rootChineseCalendar->set(UCAL_MONTH, 0);
4131 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, 0);
4132 rootChineseCalendar->set(UCAL_DATE, 1);
4134 dmft->parse(result, *rootChineseCalendar, ppos);
4135 int32_t year = rootChineseCalendar->get(UCAL_YEAR, status);
4136 int32_t month = rootChineseCalendar->get(UCAL_MONTH, status) + 1;
4137 int32_t isLeapMonth = rootChineseCalendar->get(UCAL_IS_LEAP_MONTH, status);
4138 int32_t day = rootChineseCalendar->get(UCAL_DATE, status);
4154 delete rootChineseCalendar;