Home | History | Annotate | Download | only in intltest

Lines Matching refs:UnicodeString

78     UnicodeString id("NewGMT");
101 logln((UnicodeString)"TimeZone::createDefault() => " + saveDefault->getID(id));
109 logln(UnicodeString("Value returned from uprv_timezone = ") + tzoffset);
143 errln((UnicodeString)"FAIL: getTZDataVersion returned " + tzver);
145 logln((UnicodeString)"tzdata version: " + tzver);
192 errln((UnicodeString)"FAIL: Expected start computed as " + marchOne +
194 logln((UnicodeString)" Should be " + expMarchOne +
201 errln((UnicodeString)"FAIL: Expected start computed as " + julyOne +
203 logln((UnicodeString)" Should be " + expJulyOne +
231 UnicodeString id,s;
279 logln(UnicodeString("Binary Search Before: ") + uprv_floor(0.5 + min) + " = " + dateToString(min));
280 logln(UnicodeString("Binary Search After: ") + uprv_floor(0.5 + max) + " = " + dateToString(max));
287 logln(UnicodeString("PASS: Expected bdry: ") + expectedBoundary + " = " + dateToString(expectedBoundary));
289 errln(UnicodeString("FAIL: Expected bdry: ") + expectedBoundary + " = " + dateToString(expectedBoundary));
333 UnicodeString str;
365 const UnicodeString** ids = TimeZone::createAvailableIDs(numIDs);
369 UnicodeString buf("TimeZone::createAvailableIDs() = { ");
385 UnicodeString buf("TimeZone::createAvailableIDs(-8:00) = { ");
400 UnicodeString buf("TimeZone::createAvailableIDs(US) = { ");
412 UnicodeString str;
413 UnicodeString *buf = new UnicodeString("TimeZone::createEnumeration() = { ");
422 *buf += UnicodeString(s->next(NULL, ec), "");
446 UnicodeString* id = s->snext(ec);
450 errln(UnicodeString("FAIL: createTimeZone(") +
453 errln(UnicodeString("FAIL: createTimeZone(") +
456 logln(UnicodeString("OK: createTimeZone(") +
501 UnicodeString temp;
605 logln(UnicodeString("Warning: Active tzdata version (") + tzdataVer +
689 UnicodeString itsID(kReferenceList[i].id);
779 UnicodeString itsID;
788 errln(UnicodeString("FAIL: Could not find short ID zone ") + zone1);
791 errln(UnicodeString("FAIL: Could not find long ID zone ") + zone2);
799 errln("FAIL: " + UnicodeString(zone1) +
800 " != " + UnicodeString(zone2));
802 logln("OK: " + UnicodeString(zone1) +
803 " == " + UnicodeString(zone2));
816 UnicodeString& TimeZoneTest::formatOffset(int32_t offset, UnicodeString &rv) {
861 UnicodeString& TimeZoneTest::formatTZID(int32_t offset, UnicodeString &rv) {
951 UnicodeString id(kData[i].customId);
954 UnicodeString itsID, temp;
961 UnicodeString offset, expectedID;
1117 UnicodeString fromName, toName;
1174 UnicodeString name;
1221 dataerrln("Fail: Expected " + UnicodeString(kData[i].expect) + "; got " + name);
1230 dataerrln("Fail: Expected " + UnicodeString(kData[i].expect) + "; got " + name);
1242 UnicodeString inDaylight;
1244 inDaylight = UnicodeString("TRUE");
1246 inDaylight = UnicodeString("FALSE");
1248 logln(UnicodeString("Modified PST inDaylightTime->") + inDaylight );
1251 dataerrln("Some sort of error..." + UnicodeString(u_errorName(status))); // REVISIT
1297 dataerrln(UnicodeString("Fail: Expected GMT-08:00 or something similar for PST in mt_MT but got ") + name );
1344 errln(UnicodeString("Got back a raw offset of ") + (tz->getRawOffset() / U_MILLIS_PER_HOUR) +
1349 errln(UnicodeString("Set DST offset to 0.5 hour, but got back ") + (tz->getDSTSavings() /
1355 errln(UnicodeString("The offset for 10 AM, 1/1/98 should have been -5 hours, but we got ")
1361 errln(UnicodeString("The offset for 10 AM, 6/1/98 should have been -4.5 hours, but we got ")
1368 errln(UnicodeString("The offset for 10 AM, 1/1/98 should have been -5 hours, but we got ")
1374 errln(UnicodeString("The offset for 10 AM, 6/1/98 (with a 1-hour DST offset) should have been -4 hours, but we got ")
1404 errln(UnicodeString("The offset for 10AM, 3/5/98 should have been -5 hours, but we got ")
1410 errln(UnicodeString("The offset for 10AM, 3/15/98 should have been -4 hours, but we got ")
1416 errln(UnicodeString("The offset for 10AM, 10/15/98 should have been -4 hours, but we got ") + (offset / U_MILLIS_PER_HOUR) + " hours.");
1421 errln(UnicodeString("The offset for 10AM, 10/25/98 should have been -5 hours, but we got ")
1435 errln(UnicodeString("The offset for 10AM, 3/11/98 should have been -5 hours, but we got ")
1441 errln(UnicodeString("The offset for 10AM, 3/14/98 should have been -4 hours, but we got ")
1447 errln(UnicodeString("The offset for 10AM, 10/15/98 should have been -4 hours, but we got ")
1453 errln(UnicodeString("The offset for 10AM, 10/17/98 should have been -5 hours, but we got ")
1461 UnicodeString id;
1464 dataerrln(UnicodeString("java reports dst savings of ") + expected +
1468 logln(UnicodeString("both java and icu report dst savings of ") + expected + " for tz " + tz_icu->getID(id));
1484 UnicodeString laZone("America/Los_Angeles", "");
1485 UnicodeString tokyoZone("Asia/Tokyo", "");
1493 const UnicodeString* id = s->snext(ec);
1512 const UnicodeString* id = s->snext(ec);
1527 const UnicodeString* id1 = s1->snext(ec);
1533 const UnicodeString* id2 = s2->snext(ec);
1577 UnicodeString s;
1580 } else if (tz->getID(s) != UnicodeString(id)) {
1581 dataerrln((UnicodeString)"FAIL: createTimeZone(" + id + ") => " + s);
1590 errln((UnicodeString)"FAIL: " + DATA[i].id + ".getOffset(" +
1595 logln((UnicodeString)"Ok: " + DATA[i].id + ".getOffset(" +
1608 dataerrln((UnicodeString)"FAIL: countEquivalentIDs(PST) = " + n);
1612 UnicodeString id = TimeZone::getEquivalentID("PST", i);
1613 logln((UnicodeString)"" + i + " : " + id);
1614 if (id == UnicodeString("America/Los_Angeles")) {
1778 UnicodeString canonicalID, tmpCanonical;
1781 const UnicodeString *tzid = s->snext(ec);
1792 UnicodeString tmp = TimeZone::getEquivalentID(*tzid, j);
1795 errln((UnicodeString)"FAIL: getCanonicalID(" + tmp + ") failed.");
1822 if (*tzid == UnicodeString(excluded2[k])) {
1830 errln((UnicodeString)"FAIL: No timezone ids match the canonical ID " + canonicalID);
1856 TimeZone::getCanonicalID(UnicodeString(data[i].id), canonicalID, isSystemID, ec);
1859 errln((UnicodeString)"FAIL: getCanonicalID(\"" + data[i].id
1866 dataerrln((UnicodeString)"FAIL: getCanonicalID(\"" + data[i].id
1870 dataerrln((UnicodeString)"FAIL: getCanonicalID(\"" + data[i].id
1937 UnicodeString displayName;