Lines Matching refs:caftItemPtr
4327 const CalAndFmtTestItem * caftItemPtr; in TestNonGregoFmtParse() local
4328 for (caftItemPtr = itemPtr->caftItems; caftItemPtr->year != 0; caftItemPtr++) { in TestNonGregoFmtParse()
4330 cal->set(UCAL_ERA, caftItemPtr->era); in TestNonGregoFmtParse()
4331 cal->set(UCAL_YEAR, caftItemPtr->year); in TestNonGregoFmtParse()
4332 cal->set(UCAL_MONTH, caftItemPtr->month); in TestNonGregoFmtParse()
4333 cal->set(UCAL_DATE, caftItemPtr->day); in TestNonGregoFmtParse()
4334 cal->set(UCAL_HOUR_OF_DAY, caftItemPtr->hour); in TestNonGregoFmtParse()
4335 cal->set(UCAL_MINUTE, caftItemPtr->minute); in TestNonGregoFmtParse()
4339 if ( result.compare(caftItemPtr->formattedDate) != 0 ) { in TestNonGregoFmtParse()
4341 … ", expected \"" + caftItemPtr->formattedDate + "\", got \"" + result + "\""); in TestNonGregoFmtParse()
4351 … if ( U_FAILURE(status) || ppos.getIndex() < result.length() || era != caftItemPtr->era || in TestNonGregoFmtParse()
4352 … year != caftItemPtr->year || month != caftItemPtr->month || day != caftItemPtr->day ) { in TestNonGregoFmtParse()
4355 …caftItemPtr->era +":"+caftItemPtr->year +"-"+caftItemPtr->month+"-"+caftItemPtr->day + ", got pos … in TestNonGregoFmtParse()