Lines Matching full:year
837 * Test the day of year pattern.
844 int32_t year,month,day,hour,min,sec; dateToFields(today,year,month,day,hour,min,sec);
845 UDate expected = date(year, month, day);
3848 int32_t year;
3928 rootChineseCalendar->set(datePtr->year, datePtr->month-1, datePtr->day);
3946 int32_t year = rootChineseCalendar->get(UCAL_YEAR, status);
3950 if ( ppos.getIndex() < result.length() || year != datePtr->year || month != datePtr->month || isLeapMonth != datePtr->isLeapMonth || day != datePtr->day ) {
3952 ", string \"" + result + "\", expected " + datePtr->year +"-"+datePtr->month+"("+datePtr->isLeapMonth+")-"+datePtr->day + ", got pos " +
3953 ppos.getIndex() + " " + year +"-"+month+"("+isLeapMonth+")-"+day);
4037 int32_t year;
4080 for (caftItemPtr = itemPtr->caftItems; caftItemPtr->year != 0; caftItemPtr++) {
4082 cal->set(UCAL_YEAR, caftItemPtr->year);
4098 int32_t year = cal->get(UCAL_YEAR, status);
4101 if ( U_FAILURE(status) || ppos.getIndex() < result.length() || year != caftItemPtr->year || month != caftItemPtr->month || day != caftItemPtr->day ) {
4103 ", string \"" + result + "\", expected " + caftItemPtr->year +"-"+caftItemPtr->month+"-"+caftItemPtr->day + ", got pos " +
4104 ppos.getIndex() + " " + year +"-"+month+"-"+day + " status " + UnicodeString(u_errorName(status)) );