Home | History | Annotate | Download | only in cintltst

Lines Matching defs:day

376     /*setting the first day of the week to other values  */
402 /*testing if the UCalendar's timezone is currently in day light saving's time*/
587 verify1("1999 10th day of January is :", caldef, datdef, 1999, UCAL_JANUARY, 10);
589 verify1("1999 3rd day of December is :", caldef, datdef, 1999, UCAL_DECEMBER, 3);
591 verify1("2000 3rd day of May is :", caldef, datdef, 2000, UCAL_MAY, 3);
593 verify1("1999 32th day of August is :", caldef, datdef, 1999, UCAL_SEPTEMBER, 1);
595 verify1("1999 0th day of March is :", caldef, datdef, 1999, UCAL_FEBRUARY, 28);
619 verify2("1999 10th day of October at 6:45:30 is :", caldef, datdef, 1999, UCAL_OCTOBER, 10, 6, 45, 30, 0 );
621 verify2("1999 3rd day of March at 15:10:55 is :", caldef, datdef, 1999, UCAL_MARCH, 3, 3, 10, 55, 1);
623 verify2("1999 3rd day of May at 25:30:45 is :", caldef, datdef, 1999, UCAL_MAY, 4, 1, 30, 45, 0);
625 verify2("1999 32th day of August at 22:65:40 is :", caldef, datdef, 1999, UCAL_SEPTEMBER, 1, 11, 5, 40,1);
627 verify2("1999 12th day of March at 0:0:0 is :", caldef, datdef, 1999, UCAL_MARCH, 12, 0, 0, 0, 0);
629 verify2("1999 12th day of March is at -10:-10:0 :", caldef, datdef, 1999, UCAL_MARCH, 11, 1, 50, 0, 1);
686 verify1("1997 third day of June = ", cal, datdef, 1997, UCAL_JUNE, 3);
752 verify1("1999 1st day of the year =", cal, datdef, 1999, UCAL_JANUARY, 1);
981 log_err("FAIL: Day of week %d out of range\n", val);
982 log_err("FAIL: FAIL: Day of week should be SUNDAY Got %d\n", val);
992 log_err("FAIL: Day of week in month %d out of range\n", val);
993 log_err("FAIL: FAIL: Day of week in month should be SUNDAY Got %d\n", val);
1025 log_err("FAIL: Hour of Day %d out of range\n", val);
1098 log_err("Day of week should be %d instead of %d on %s", expectedDOW, newDOW,
1276 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day)
1282 ucal_get(c, UCAL_DATE, &status) == day) {
1302 log_err("Got %s Expected %d/%d/%d \n", austrdup(myDateFormat(dat, d1)), year, month + 1, day );
1310 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
1319 ucal_get(c, UCAL_DATE, &status) == day &&
1344 year, month + 1, day, hour, min, sec, (am_pm==0) ? "AM": "PM");
1354 const int32_t dayMillis = 86400 * INT64_C(1000); /* 1 day = 86400 seconds */
1508 int32_t day;
1599 day,