Home | History | Annotate | Download | only in cintltst

Lines Matching refs:date

295     /*Testing the current time and date using ucal_getnow()*/
298 /* open the date format and format the date to check the output */
304 log_verbose("PASS: The current date and time fetched is %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datdef, now)) );
469 /* this is supposed to open default date format, but later on it treats it like it is "en_US"
481 log_verbose("\nTesting the date and time fetched in millis for a calendar using getMillis\n");
488 log_verbose("\nTesting the set date and time function using setMillis\n");
494 /*testing if the calendar date is set properly or not */
574 log_err("error in setting the calendar date : %s\n", u_errorName(status));
576 /*checking if the calendar date is set properly or not */
605 log_err("error in setting the calendar date : %s\n", u_errorName(status));
607 /*checking if the calendar date is set properly or not */
975 ucal_setDate(cal, 1999, UCAL_MARCH, 5, &status); /* Set the date to be March 5, 1999 */
1164 log_verbose("date = %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) );
1356 UDate date;
1370 date = ucal_getGregorianChange(cal, &errorCode);
1371 if(U_FAILURE(errorCode) || date != -365 * (dayMillis * (UDate)1)) {
1372 log_err("ucal_getGregorianChange() failed: %s, date = %f\n", u_errorName(errorCode), date);
1390 date = ucal_getGregorianChange(cal, &errorCode);
1596 char fmtDateBytes[kFormattedDateMax] = "<could not format test date>"; /* initialize for failure */
1614 log_err("FAIL: locale %s date %s isWeekend() status %s\n", testDatesPtr->locale, fmtDateBytes, u_errorName(status) );
1617 log_err("FAIL: locale %s date %s isWeekend %d, expected the opposite\n", testDatesPtr->locale, fmtDateBytes, isWeekend );
1619 log_verbose("OK: locale %s date %s isWeekend %d\n", testDatesPtr->locale, fmtDateBytes, isWeekend );