Lines Matching refs:eraNow
2090 int32_t yrBefore, yrAfter, yrMax, eraAfter, eraMax, eraNow; in TestAddRollEra0AndEraBounds() local
2235 eraNow = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds()
2236 if ( U_SUCCESS(status) && eraNow > 1 ) { in TestAddRollEra0AndEraBounds()
2240 ucal_set(ucalTest, UCAL_ERA, eraNow); in TestAddRollEra0AndEraBounds()
2247 eraNow, eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2250 if (eraAfter != eraNow || yrAfter != 1) { in TestAddRollEra0AndEraBounds()
2252 eraNow, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
2254 } else if (eraAfter != eraNow || yrAfter != yrMax) { in TestAddRollEra0AndEraBounds()
2256 eraNow, yrMax, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
2264 eraNow, eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2265 } else if (eraAfter != eraNow || yrAfter != 1) { in TestAddRollEra0AndEraBounds()
2267 eraNow, yrMax, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()