Lines Matching refs:logln
32 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break
37 // if (exec) logln((UnicodeString)"TestSuite NumberFormatRegressionTest");
146 logln(UnicodeString("") + d);
168 logln(UnicodeString("HOUR=") + cal->get(UCAL_HOUR, status)); //prints 0
170 logln(UnicodeString("HOUR_OF_DAY=") + cal->get(UCAL_HOUR_OF_DAY, status));
235 logln(UnicodeString(string, ""));
241 logln(UnicodeString("/") + cal->get(UCAL_YEAR, status)) ;
282 logln(zone->getID(temp) + " " +
342 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status));
343 logln(UnicodeString("DAY_OF_MONTH: ") +
345 logln(UnicodeString("MINUTE: ") + calendar->get(UCAL_MINUTE, status));
346 logln(UnicodeString("SECOND: ") + calendar->get(UCAL_SECOND, status));
352 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status));
353 logln(UnicodeString("DAY_OF_MONTH: ") +
355 logln(UnicodeString("MINUTE: ") + calendar->get(UCAL_MINUTE, status));
356 logln(UnicodeString("SECOND: ") + calendar->get(UCAL_SECOND, status));
398 logln("ERA: " + Calendar::get(Calendar::ERA));
399 logln("YEAR: " + Calendar::get(Calendar::YEAR));
400 logln("MONTH: " + Calendar::get(Calendar::MONTH));
401 logln("WEEK_OF_YEAR: " +
403 logln("WEEK_OF_MONTH: " +
405 logln("DATE: " + Calendar::get(Calendar::DATE));
406 logln("DAY_OF_MONTH: " +
408 logln("DAY_OF_YEAR: " + Calendar::get(Calendar::DAY_OF_YEAR));
409 logln("DAY_OF_WEEK: " + Calendar::get(Calendar::DAY_OF_WEEK));
410 logln("DAY_OF_WEEK_IN_MONTH: " +
412 logln("AM_PM: " + Calendar::get(Calendar::AM_PM));
413 logln("HOUR: " + Calendar::get(Calendar::HOUR));
414 logln("HOUR_OF_DAY: " + Calendar::get(Calendar::HOUR_OF_DAY));
415 logln("MINUTE: " + Calendar::get(Calendar::MINUTE));
416 logln("SECOND: " + Calendar::get(Calendar::SECOND));
417 logln("MILLISECOND: " + Calendar::get(Calendar::MILLISECOND));
418 logln("ZONE_OFFSET: "
420 logln("DST_OFFSET: "
424 logln("April 10, 1997");
425 logln("ERA: " + Calendar::get(Calendar::ERA));
426 logln("YEAR: " + Calendar::get(Calendar::YEAR));
427 logln("MONTH: " + Calendar::get(Calendar::MONTH));
428 logln("WEEK_OF_YEAR: " +
430 logln("WEEK_OF_MONTH: " +
432 logln("DATE: " + Calendar::get(Calendar::DATE));
433 logln("DAY_OF_MONTH: " +
435 logln("DAY_OF_YEAR: " + Calendar::get(Calendar::DAY_OF_YEAR));
436 logln("DAY_OF_WEEK: " + Calendar::get(Calendar::DAY_OF_WEEK));
437 logln("DAY_OF_WEEK_IN_MONTH: " + Calendar::get(Calendar::DAY_OF_WEEK_IN_MONTH));
438 logln("AM_PM: " + Calendar::get(Calendar::AM_PM));
439 logln("HOUR: " + Calendar::get(Calendar::HOUR));
440 logln("HOUR_OF_DAY: " + Calendar::get(Calendar::HOUR_OF_DAY));
441 logln("MINUTE: " + Calendar::get(Calendar::MINUTE));
442 logln("SECOND: " + Calendar::get(Calendar::SECOND));
443 logln("MILLISECOND: " + Calendar::get(Calendar::MILLISECOND));
444 logln("ZONE_OFFSET: "
446 logln("DST_OFFSET: "
504 logln(UnicodeString("Hour: ")+cal->get(UCAL_HOUR_OF_DAY, status));
506 logln(UnicodeString("Hour: ")+cal->get(UCAL_HOUR_OF_DAY, status));
588 //logln(cal.getTime().toString());
640 //logln(cal.getTime().toString());
659 logln("foo1@%.0f - %d-%d-%d %d:%d:%d.%ds\n", foo1->getTime(status),
668 logln("foo1@%.0f - %d-%d-%d %d:%d:%d.%ds after +\n", foo1->getTime(status),
677 logln("foo1@%.0f - %d-%d-%d %d:%d:%d.%ds after -\n", foo1->getTime(status),
722 //logln("Current time: " + firstDate.toString());
771 logln(date->format(now, temp, pos));
774 logln(date->format(now,temp, pos));
777 logln(date->format(now,temp, pos));
780 logln(date->format(now,temp, pos));
786 logln("*** THE RESULTS OF THIS TEST MUST BE VERIFIED MANUALLY ***");
812 logln( UnicodeString(" Cal1 = ") + cal1->getTime(status) );
813 logln( UnicodeString(" Cal1 time in ms = ") + cal1->get(UCAL_MILLISECOND,status) );
825 logln( UnicodeString(" Cal2 = ") + cal2->getTime(status) );
826 logln( UnicodeString(" Cal2 time in ms = ") + cal2->get(UCAL_MILLISECOND,status) );
877 logln(UnicodeString("PST 1 is: ") + (h1=cal1->get(UCAL_HOUR_OF_DAY, status)));
879 logln(UnicodeString("GMT 2 is: ") + (h2=cal1->get(UCAL_HOUR_OF_DAY, status)));
896 logln(UnicodeString("RGMT 1 is: ") + (t1=cal2->getTime(status)));
898 logln(UnicodeString("RPST 1 is: ") + (t2=cal3->getTime(status)));
900 logln(UnicodeString("RGMT 2 is: ") + (t3=cal3->getTime(status)));
910 logln(UnicodeString("RGMT 3 is: ") + (t4=cal3->getTime(status)));
945 logln(UnicodeString("") + (m2=gc->get(UCAL_MONTH,status)+1)+UnicodeString("/")+
971 //logln(d.toString());
1001 logln(testDesc + " => 1st day of week=" +
1018 logln(output);
1036 logln(UnicodeString("Minimal days in first week = ") + DATA[j] +
1049 logln("");
1060 logln(UnicodeString(" Parse failed: ") +
1096 logln(UnicodeString("") + sdf.format(got, str));
1102 logln(UnicodeString("") + sdf.format(got, str));
1108 logln(UnicodeString("") + sdf.format(got, str));
1130 logln(CalendarTest::calToStr(*testCal));
1132 logln(CalendarTest::calToStr(*testCal) + UnicodeString( " <<< expected "));
1135 logln("");
1151 logln("");
1201 logln(UnicodeString(" exp:") + sdf.format(after, str) + " FAIL");
1204 else logln(" ok");
1218 logln(UnicodeString(" exp:") + sdf.format(before, str) + " FAIL");
1221 else logln(" ok");
1279 logln(UnicodeString("") + cal->getTime(status));
1284 logln(UnicodeString("") + cal->getTime(status));
1290 logln(UnicodeString("") + cal->getTime(status));
1295 logln(UnicodeString("") + cal->getTime(status));
1300 logln(UnicodeString("") + cal->getTime(status));
1365 logln(" FAIL");
1367 else logln(" OK");
1457 logln(UnicodeString("") + y + UnicodeString(" = ") + fmt->format(cal->getTime(status), temp) + " " +
1551 // logln("Test passed");
1756 if (i>0) logln("---");
1764 logln(UnicodeString("0 ") + i + ": " + d0/*s0*/);
1772 logln(UnicodeString("+ ") + i + ": " + dPlus/*sPlus*/);
1780 logln(UnicodeString("- ") + i + ": " + dMinus/*sMinus*/);
1808 logln(UnicodeString("init date: ") + start);
1815 logln(UnicodeString("after adding 12 months: ") + date1);
1825 logln(UnicodeString("after adding one year : ") + date2);
1827 logln("Test passed");
1862 logln(UnicodeString("Date: ") + calendar->getTime(status)); // 888817448000
1873 logln(UnicodeString("First day of week = ") + firstInWeek +
1919 logln("--- " + id[k] + " ---");
1940 logln(UnicodeString("maxYear: ") + maxYear + " for " + format->format(calendar->getTime(status), temp));
1942 logln("date before: " + format->format(dateBefore, temp));
1960 logln(UnicodeString(" Year ") + years[i] + (valid? " ok " : " bad") +
2011 logln(UnicodeString("Ok: ") + dfmt.format(cal.getTime(status), str.remove()));
2018 logln(dfmt.format(cal.getTime(status), str.remove()));
2062 logln(UnicodeString("Cutover: {") +
2120 logln(CalendarTest::calToStr(cal));
2123 logln((UnicodeString)"PASS: expect woy=" + DOY_DATA[i+1] +
2126 logln(CalendarTest::calToStr(cal));
2144 logln(CalendarTest::calToStr(cal));
2233 logln((UnicodeString)"Ok: {" +
2327 logln(UnicodeString("") +
2350 logln(UnicodeString("Ok: ") +
2501 logln((UnicodeString)"Ok: 2004/Feb/29 - 2000/Feb/29 = " + y + " years, " + d + " days");
2514 logln((UnicodeString)"Ok: 2000/Feb/29 - 2004/Feb/29 = " + y + " years, " + d + " days");
2537 logln((UnicodeString)"Ok: large field difference symmetrical " + d);
2539 logln((UnicodeString)"FAIL: large field difference incorrect " + d + ", " + d2 +
2623 // logln(time1);
2626 logln((UnicodeString)"Ok: WEEK_OF_YEAR: " + woy1 +
2923 logln(UnicodeString("Initial date: ") + dstr);
2932 logln(UnicodeString("+1 day: ") + dstr);
2942 logln(UnicodeString("-1 day: ") + dstr);