Home | History | Annotate | Download | only in intltest

Lines Matching defs:in

52     out += UnicodeString(" (in DST), zone=");
785 verify765("1997 first Tuesday in June = ", c, 1997, UCAL_JUNE, 3);
791 verify765("1997 last Tuesday in June = ", c, 1997, UCAL_JUNE, 24);
800 verify765("1997 zero-th Tuesday in June = ", status);
807 verify765("1997 Tuesday in week 1 of June = ", c, 1997, UCAL_JUNE, 3);
813 verify765("1997 Tuesday in week 5 of June = ", c, 1997, UCAL_JULY, 1);
823 verify765("1997 Tuesday in week 0 of June = ", status);
826 * resolve to a date in Dec 1996; that is, to behave as if
829 * desired. Using YEAR in combination with WOY is ambiguous, and
830 * results in the first WOY/DOW day of the year satisfying the
831 * given fields (there may be up to two such days). In this case,
833 * of 1 (for YEAR_WOY 1998) and a DOW of Tuesday, and falls in the
839 verify765("1997 Tuesday in week 1 of yearWOY = ", c, 1996, UCAL_DECEMBER, 31);
845 verify765("1997 Tuesday in week 1 of year = ", c, 1997, UCAL_DECEMBER, 30);
850 verify765("1997 Tuesday in week 10 of year = ", c, 1997, UCAL_MARCH, 4);
859 verify765("1997 Tuesday in week 0 of year = ", c, 1996, Calendar::DECEMBER, 24);*/
1066 * Execute adding and rolling in GregorianCalendar extensively,
1197 * Test that setting of fields works. In particular, make sure that all instances
1238 FileInputStream in = new FileInputStream(FILENAME);
1239 ObjectInputStream t = new ObjectInputStream(in);
1243 in.close();
1291 errln("Expected to see :00 in " + s);
1404 * Verify that various fields on a known date are set correctly. In this
1424 logln("Warning: Skipping test because " + dateToString(d, str) + " is in DST.");
1482 * added a new test that checks for this in place of the old call
1505 if (U_FAILURE(status)) { errln("Error in parse/calculate test for 1997"); return; }
1513 if (U_FAILURE(status)) { errln("Error in parse/calculate test for 1998"); return; }
1521 if (U_FAILURE(status)) { errln("Error in parse/calculate test for 1582"); return; }
1607 if (U_FAILURE(errorCode)) { errln("Error in add"); delete calclone; return; }
1609 if (U_FAILURE(errorCode)) { errln("Error in add"); delete calclone; return; }
1627 if (U_FAILURE(errorCode)) { errln("Error in roll"); delete calclone; return; }
1629 if (U_FAILURE(errorCode)) { errln("Error in roll"); delete calclone; return; }
2082 // make sure the ctestfw utilities are in sync with the Calendar
2509 const CalFields in;
2516 // Time zone Input wall time WALLTIME_LAST in GMT WALLTIME_FIRST in GMT
2557 RPDATA[i].in.setTo(calLast);
2562 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2565 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_LAST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as "
2573 RPDATA[i].in.setTo(calDefault);
2578 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2581 dataerrln(UnicodeString("Fail: (default) ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as "
2589 RPDATA[i].in.setTo(calFirst);
2594 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]");
2597 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_FIRST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as "
2607 const CalFields in;
2616 // Time zone Input wall time valid? WALLTIME_LAST in GMT WALLTIME_FIRST in GMT WALLTIME_NEXT_VALID in GMT
2663 SKDATA[i].in.setTo(calLast);
2670 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2673 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_LAST ") + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "] is parsed as "
2680 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2687 SKDATA[i].in.setTo(calDefault);
2694 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2697 dataerrln(UnicodeString("Fail: (default) ") + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "] is parsed as "
2704 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2711 SKDATA[i].in.setTo(calFirst);
2718 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2721 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_FIRST ") + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "] is parsed as "
2728 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2735 SKDATA[i].in.setTo(calNextAvail);
2742 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2745 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_NEXT_VALID ") + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "] is parsed as "
2752 + SKDATA[i].in.toString(buf, sizeof(buf)) + "[" + SKDATA[i].tzid + "]");
2979 // Minimum days in first week