Home | History | Annotate | Download | only in intltest

Lines Matching defs:in

60     out += UnicodeString(" (in DST), zone=");
796 verify765("1997 first Tuesday in June = ", c, 1997, UCAL_JUNE, 3);
802 verify765("1997 last Tuesday in June = ", c, 1997, UCAL_JUNE, 24);
811 verify765("1997 zero-th Tuesday in June = ", status);
818 verify765("1997 Tuesday in week 1 of June = ", c, 1997, UCAL_JUNE, 3);
824 verify765("1997 Tuesday in week 5 of June = ", c, 1997, UCAL_JULY, 1);
834 verify765("1997 Tuesday in week 0 of June = ", status);
837 * resolve to a date in Dec 1996; that is, to behave as if
840 * desired. Using YEAR in combination with WOY is ambiguous, and
841 * results in the first WOY/DOW day of the year satisfying the
842 * given fields (there may be up to two such days). In this case,
844 * of 1 (for YEAR_WOY 1998) and a DOW of Tuesday, and falls in the
850 verify765("1997 Tuesday in week 1 of yearWOY = ", c, 1996, UCAL_DECEMBER, 31);
856 verify765("1997 Tuesday in week 1 of year = ", c, 1997, UCAL_DECEMBER, 30);
861 verify765("1997 Tuesday in week 10 of year = ", c, 1997, UCAL_MARCH, 4);
870 verify765("1997 Tuesday in week 0 of year = ", c, 1996, Calendar::DECEMBER, 24);*/
1077 * Execute adding and rolling in GregorianCalendar extensively,
1208 * Test that setting of fields works. In particular, make sure that all instances
1249 FileInputStream in = new FileInputStream(FILENAME);
1250 ObjectInputStream t = new ObjectInputStream(in);
1254 in.close();
1302 errln("Expected to see :00 in " + s);
1415 * Verify that various fields on a known date are set correctly. In this
1435 logln("Warning: Skipping test because " + dateToString(d, str) + " is in DST.");
1493 * added a new test that checks for this in place of the old call
1516 if (U_FAILURE(status)) { errln("Error in parse/calculate test for 1997"); return; }
1524 if (U_FAILURE(status)) { errln("Error in parse/calculate test for 1998"); return; }
1532 if (U_FAILURE(status)) { errln("Error in parse/calculate test for 1582"); return; }
1618 if (U_FAILURE(errorCode)) { errln("Error in add"); delete calclone; return; }
1620 if (U_FAILURE(errorCode)) { errln("Error in add"); delete calclone; return; }
1638 if (U_FAILURE(errorCode)) { errln("Error in roll"); delete calclone; return; }
1640 if (U_FAILURE(errorCode)) { errln("Error in roll"); delete calclone; return; }
2093 // make sure the ctestfw utilities are in sync with the Calendar
2520 const CalFields in;
2527 // Time zone Input wall time WALLTIME_LAST in GMT WALLTIME_FIRST in GMT
2568 RPDATA[i].in.setTo(calLast);
2573 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2576 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_LAST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as "
2584 RPDATA[i].in.setTo(calDefault);
2589 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2592 dataerrln(UnicodeString("Fail: (default) ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as "
2600 RPDATA[i].in.setTo(calFirst);
2605 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2608 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_FIRST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as "
2618 const CalFields in;
2627 // Time zone Input wall time valid? WALLTIME_LAST in GMT WALLTIME_FIRST in GMT WALLTIME_NEXT_VALID in GMT
2674 SKDATA[i].in.setTo(calLast);
2681 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2684 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_LAST ") + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "] is parsed as "
2691 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2698 SKDATA[i].in.setTo(calDefault);
2705 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2708 dataerrln(UnicodeString("Fail: (default) ") + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "] is parsed as "
2715 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2722 SKDATA[i].in.setTo(calFirst);
2729 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2732 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_FIRST ") + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "] is parsed as "
2739 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2746 SKDATA[i].in.setTo(calNextAvail);
2753 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2756 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_NEXT_VALID ") + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "] is parsed as "
2763 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
3437 // Minimum days in first week