Home | History | Annotate | Download | only in intltest

Lines Matching defs:in

62     out += UnicodeString(" (in DST), zone=");
805 verify765("1997 first Tuesday in June = ", c, 1997, UCAL_JUNE, 3);
811 verify765("1997 last Tuesday in June = ", c, 1997, UCAL_JUNE, 24);
820 verify765("1997 zero-th Tuesday in June = ", status);
827 verify765("1997 Tuesday in week 1 of June = ", c, 1997, UCAL_JUNE, 3);
833 verify765("1997 Tuesday in week 5 of June = ", c, 1997, UCAL_JULY, 1);
843 verify765("1997 Tuesday in week 0 of June = ", status);
846 * resolve to a date in Dec 1996; that is, to behave as if
849 * desired. Using YEAR in combination with WOY is ambiguous, and
850 * results in the first WOY/DOW day of the year satisfying the
851 * given fields (there may be up to two such days). In this case,
853 * of 1 (for YEAR_WOY 1998) and a DOW of Tuesday, and falls in the
859 verify765("1997 Tuesday in week 1 of yearWOY = ", c, 1996, UCAL_DECEMBER, 31);
865 verify765("1997 Tuesday in week 1 of year = ", c, 1997, UCAL_DECEMBER, 30);
870 verify765("1997 Tuesday in week 10 of year = ", c, 1997, UCAL_MARCH, 4);
879 verify765("1997 Tuesday in week 0 of year = ", c, 1996, Calendar::DECEMBER, 24);*/
1086 * Execute adding and rolling in GregorianCalendar extensively,
1217 * Test that setting of fields works. In particular, make sure that all instances
1258 FileInputStream in = new FileInputStream(FILENAME);
1259 ObjectInputStream t = new ObjectInputStream(in);
1263 in.close();
1311 errln("Expected to see :00 in " + s);
1424 * Verify that various fields on a known date are set correctly. In this
1444 logln("Warning: Skipping test because " + dateToString(d, str) + " is in DST.");
1502 * added a new test that checks for this in place of the old call
1525 if (U_FAILURE(status)) { errln("Error in parse/calculate test for 1997"); return; }
1533 if (U_FAILURE(status)) { errln("Error in parse/calculate test for 1998"); return; }
1541 if (U_FAILURE(status)) { errln("Error in parse/calculate test for 1582"); return; }
1627 if (U_FAILURE(errorCode)) { errln("Error in add"); delete calclone; return; }
1629 if (U_FAILURE(errorCode)) { errln("Error in add"); delete calclone; return; }
1647 if (U_FAILURE(errorCode)) { errln("Error in roll"); delete calclone; return; }
1649 if (U_FAILURE(errorCode)) { errln("Error in roll"); delete calclone; return; }
2102 // make sure the ctestfw utilities are in sync with the Calendar
2529 const CalFields in;
2536 // Time zone Input wall time WALLTIME_LAST in GMT WALLTIME_FIRST in GMT
2577 RPDATA[i].in.setTo(calLast);
2582 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2585 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_LAST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as "
2593 RPDATA[i].in.setTo(calDefault);
2598 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2601 dataerrln(UnicodeString("Fail: (default) ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as "
2609 RPDATA[i].in.setTo(calFirst);
2614 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2617 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_FIRST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as "
2627 const CalFields in;
2636 // Time zone Input wall time valid? WALLTIME_LAST in GMT WALLTIME_FIRST in GMT WALLTIME_NEXT_VALID in GMT
2683 SKDATA[i].in.setTo(calLast);
2690 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2693 in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "] is parsed as "
2700 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2707 SKDATA[i].in.setTo(calDefault);
2714 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2717 dataerrln(UnicodeString("Fail: (default) ") + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "] is parsed as "
2724 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2731 SKDATA[i].in.setTo(calFirst);
2738 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2741 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_FIRST ") + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "] is parsed as "
2748 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2755 SKDATA[i].in.setTo(calNextAvail);
2762 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2765 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_NEXT_VALID ") + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "] is parsed as "
2772 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
3446 // Minimum days in first week
3639 // Data in a separate file (Gregorian to Chinese lunar map)
3653 const GregoToLunar * mapPtr = gregoToLunar; // in "caltestdata.h" included above