• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ICU-531.30/icuSources/test/intltest/

Lines Matching defs:field

546     //cal.add(field, amount); //<-- PROBLEM SEEN WITH field = DATE,MONTH 
639 cal->set(UCAL_MONTH, UCAL_NOVEMBER); // change a field
1069 // Test field disambiguation with a few special hard-coded cases.
1377 * Make sure maximum for HOUR field is 11, not 12.
1391 errln("Fail: maximum of HOUR field should be 11");
1396 errln("Fail: [deprecated functions] maximum of HOUR field should be 11\n");
1401 errln("Fail: [deprecated functions] minimum of HOUR field should be 1\n");
1409 errln("Fail: Buddhist:[deprecated functions] maximum of HOUR field should be 11\n");
1414 errln("Fail: Buddhist:[deprecated functions] minimum of HOUR field should be 1\n");
1422 errln("Fail: Japanese:[deprecated functions] maximum of HOUR field should be 11\n");
1427 errln("Fail: Japanese:[deprecated functions] minimum of HOUR field should be 1\n");
1598 * Maximum value for YEAR field wrong.
1637 * field. - liu 6/29/98
1650 for (int32_t field = 0; field < UCAL_FIELD_COUNT; field++) {
1655 int32_t max = calendar->getMaximum((UCalendarDateFields)field);
1657 calendar->set((UCalendarDateFields)field, value);
1663 errln(UnicodeString("Test failed with field ") + FIELD_NAME[field] +
1853 UCalendarDateFields field = UCAL_WEEK_OF_MONTH;
1870 int32_t returned = calendar->getActualMaximum(field, status);
1897 UCalendarDateFields field = UCAL_YEAR;
1938 int32_t maxYear = calendar->getActualMaximum(field, status);
1948 calendar->set(field, years[i]);
1952 int32_t newYear = calendar->get(field, status);
1954 errln(UnicodeString("get(") + (int32_t)field + ") failed");
2035 UCalendarDateFields field;
2217 cal.add(DATA[i].field, amount, status);
2219 cal.roll(DATA[i].field, amount, status);
2223 (action==ADD?"add ":"roll ") + FIELD_NAME[DATA[i].field] +
2237 amount + " " + FIELD_NAME[DATA[i].field] + " -> {" +
2245 amount + " " + FIELD_NAME[DATA[i].field] + " -> {" +
2453 errln((UnicodeString)"FAIL: Calendar::add, locale " + testLocalePtr->locale + ", field/delta " +
2462 errln((UnicodeString)"ERROR: Calendar::add, locale " + testLocalePtr->locale + ", field/delta " +
2474 * field difference to check binary search.
2537 logln((UnicodeString)"Ok: large field difference symmetrical " + d);
2539 logln((UnicodeString)"FAIL: large field difference incorrect " + d + ", " + d2 +
2560 * field <=> time mapping, since they affect the interpretation of
2882 // the calendar's internal field yet.
2887 // above and internal work calendar field resolution.