Lines Matching refs:date
280 UDate when = date(90, UCAL_APRIL, 15);
384 if (cal->getTime(status) != date(84, 5, 24) || U_FAILURE(status))
389 if (cal->getTime(status) != date(85, 3, 2, 11, 49) || U_FAILURE(status))
394 if (cal->getTime(status) != date(95, 9, 12, 1, 39, 55) || U_FAILURE(status))
470 if (gc->getTime(status) != (d =date(98, 10, 14, 21, 43) )|| U_FAILURE(status))
477 if (gc->getTime(status) != (d=date(98, 10, 14, 21, 43, 55)) || U_FAILURE(status))
529 int32_t year = 1997, month = UCAL_APRIL, date = 1;
530 gc->set(year, month, date);
539 gc->get(UCAL_DATE, status) != (date + i)) errln("FAIL: Date wrong");
625 c->setGregorianChange(date(0, 0, 1), status);
698 * resolve to a date in Dec 1996; that is, to behave as if
791 UDate date;
799 date = gmtcal->getTime(status);
801 logln("date = " + dateToString(date, str));
804 cal->setTime(date, status);
813 logln("offset for " + dateToString(date, str) + "= " + (offset / 1000 / 60 / 60.0) + "hr");
835 UDate d = date(97, 4, 14, 13, 23, 45);
1237 * Verify that various fields on a known date are set correctly.
1276 * Verify that various fields on a known date are set correctly. In this
1363 // ICU no longer use localized date-time pattern characters by default.
2098 errln("Error formatting date 1\n");
2105 errln("Unexpected result from date 1 format\n");
2112 errln("Error formatting date 2\n");
2118 errln("Unexpected result from date 2 format\n");