Lines Matching refs:UCalendarDateFields
55 out += (UnicodeString("") + fieldName((UCalendarDateFields)i) + "=" + cal.get((UCalendarDateFields)i, status) + UnicodeString(" "));
336 UnicodeString CalendarTest::fieldName(UCalendarDateFields f) {
471 if (cal->getMinimum((UCalendarDateFields)i) > cal->getGreatestMinimum((UCalendarDateFields)i))
473 if (cal->getLeastMaximum((UCalendarDateFields)i) > cal->getMaximum((UCalendarDateFields)i))
475 if (cal->getMinimum((UCalendarDateFields)i) >= cal->getMaximum((UCalendarDateFields)i))
503 if (!cal->isSet((UCalendarDateFields)i)) errln("FAIL: Calendar::isSet F, should be T " + fieldName((UCalendarDateFields)i));
506 if (cal->isSet((UCalendarDateFields)i)) errln("FAIL: Calendar::isSet = T, should be F " + fieldName((UCalendarDateFields)i));
508 cal->clear((UCalendarDateFields)i);
509 if (cal->isSet((UCalendarDateFields)i)) errln("FAIL: Calendar::clear/isSet failed " + fieldName((UCalendarDateFields)i));
1094 UCalendarDateFields e;
1112 e = (UCalendarDateFields) ((int32_t) e + 1);
1138 e = (UCalendarDateFields) ((int32_t) e + 1);
1149 int32_t ms, UCalendarDateFields field)
1389 UCalendarDateFields field = (UCalendarDateFields)EXPECTED_FIELDS[i++];
1441 if (c->get((UCalendarDateFields)i, status) != EPOCH_FIELDS[i])
1443 "; saw " + c->get((UCalendarDateFields)i, status) + " instead");
1608 void CalendarTest::loop_addroll(Calendar *cal, /*SimpleDateFormat *sdf,*/ int times, UCalendarDateFields field, UCalendarDateFields field2, UErrorCode& errorCode) {