Lines Matching refs:date
378 UDate when = date(90, UCAL_APRIL, 15);
482 if (cal->getTime(status) != date(84, 5, 24) || U_FAILURE(status))
487 if (cal->getTime(status) != date(85, 3, 2, 11, 49) || U_FAILURE(status))
492 if (cal->getTime(status) != date(95, 9, 12, 1, 39, 55) || U_FAILURE(status))
571 if (gc->getTime(status) != (d =date(98, 10, 14, 21, 43) )|| U_FAILURE(status))
578 if (gc->getTime(status) != (d=date(98, 10, 14, 21, 43, 55)) || U_FAILURE(status))
668 int32_t year = 1997, month = UCAL_APRIL, date = 1;
669 gc->set(year, month, date);
678 gc->get(UCAL_DATE, status) != (date + i)) errln("FAIL: Date wrong");
764 c->setGregorianChange(date(0, 0, 1), status);
837 * resolve to a date in Dec 1996; that is, to behave as if
930 UDate date;
938 date = gmtcal->getTime(status);
940 date = " + dateToString(date, str));
943 cal->setTime(date, status);
952 logln("offset for " + dateToString(date, str) + "= " + (offset / 1000 / 60 / 60.0) + "hr");
974 UDate d = date(97, 4, 14, 13, 23, 45);
1376 * Verify that various fields on a known date are set correctly.
1415 * Verify that various fields on a known date are set correctly. In this
1502 // ICU no longer use localized date-time pattern characters by default.
2237 errln("Error formatting date 1\n");
2244 errln("Unexpected result from date 1 format\n");
2251 errln("Error formatting date 2\n");
2257 errln("Unexpected result from date 2 format\n");
2313 // Set the Gregorian Calendar to a specific date for testing.
3283 errln("invalid values for RABI_2 date after roll of %d", loopCnt);
3307 UDate date = formatter->parse("1975-05-06", status);
3309 is_cal->setTime(date, status);
3315 errln("unexpected conversion date month %i not %i or day %i not 24 or year %i not 1395", is_month, IslamicCalendar::RABI_2, is_day, is_year);
3319 if(date2 != date) {
3320 errln("before(%f) and after(%f) dates don't match up!",date, date2);
3330 date = gregCal->getTime(status);
3331 tstCal->setTime(date, status);
3357 UDate date = formatter->parse("1975-05-06", status);
3360 tstCal->setTime(date, status);
3368 tstCal->setTime(date, status);
3396 errln("Fail: 5776 Adar I 1 is a valid date.");
3405 logln("Info: U_ILLEGAL_ARGUMENT_ERROR, because 5777 Adar I 1 is not a valid date.");
3407 errln("Fail: U_ILLEGAL_ARGUMENT_ERROR should be set for input date 5777 Adar I 1.");
3466 // Add 1 day, from the date before DST transition