Home | History | Annotate | Download | only in intltest

Lines Matching defs:zone

132         errln("Fail: Fix test to start with non-DST zone");
269 TimeZone *zone = TimeZone::createTimeZone(ZONES[i]);
271 if (zone->getID(id) != ZONES[i])
278 ostream.writeObject(zone);
285 //logln("Zone: " + zone);
287 if (!zone.equals(frankenZone)) {
288 logln("TimeZone " + zone.getID() +
571 //errln("zone 1 = " + tz1);
572 //errln("zone 2 = " + tz2);
617 SimpleTimeZone *zone = new SimpleTimeZone(0, "Z");
629 zone->setStartRule(month, day, dayOfWeek, time, status);
643 zone->setEndRule(month, day, dayOfWeek, time, status);
691 delete zone;
851 /* Zone
871 UnicodeString zone [4];// = new String[4];
883 // Must construct the Date object AFTER setting the default zone
892 zone[i].remove();
893 zone[i] = fmt->format(d+ i*ONE_HOUR, zone[i], pos);
894 logln(UnicodeString("") + i + ": " + d + " / " + zone[i]);
897 if(zone[0] == zone[1] &&
898 (zone[1] == zone[2]) != transitionExpected &&
899 zone[2] == zone[3]) {
915 // Construct a zone that does not observe DST but
922 // Construct a zone that observes DST for the first 6 months.
934 fmt1->setTimeZone(*z1); // Format uses standard zone
937 fmt2->setTimeZone(*z2); // Format uses DST zone
948 "z1->getDisplayName(false, SHORT)/std zone",
950 "z1->getDisplayName(false, LONG)/std zone",
952 "z1->getDisplayName(true, SHORT)/std zone",
954 "z1->getDisplayName(true, LONG)/std zone",
956 "z2->getDisplayName(false, SHORT)/dst zone",
958 "z2->getDisplayName(false, LONG)/dst zone",
960 "z2->getDisplayName(true, SHORT)/dst zone",
962 "z2->getDisplayName(true, LONG)/dst zone",
964 "DateFormat.format(std)/std zone", fmt1->format(std, i), "GMT+01:30",
965 "DateFormat.format(dst)/std zone", fmt1->format(dst, j), "GMT+01:30",
966 "DateFormat.format(std)/dst zone", fmt2->format(std, k), "GMT+01:30",
967 "DateFormat.format(dst)/dst zone", fmt2->format(dst, l), "GMT+02:15",
1012 * Test to see if DateFormat understands zone equivalency groups. It
1019 * zones in an equivalency group where one zone has localized name
1140 SimpleTimeZone* zone = NULL;
1142 zone = new SimpleTimeZone(0, "A", 0, -1, 0, 0, 0, 0, 0, 0, status);
1149 delete zone;
1151 zone = new SimpleTimeZone(0, "A", 0, 0, 0, 0, 0, -1, 0, 0, status);
1158 delete zone;
1160 zone = new SimpleTimeZone(0, "A", 0, -1, 0, 0, 0, 0, 0, 1000, status);
1167 delete zone;
1168 zone = new SimpleTimeZone(0, "A", 0, 0, 0, 0, 0, -1, 0, 0, 1000, status);
1175 delete zone;
1177 zone = new SimpleTimeZone(0, "A", 0, 1, 0, 0, 0, 1, 0, 0, status);
1179 zone->setStartRule(0, -1, 0, 0, status);
1185 zone->setStartRule(0, -1, 0, status);
1192 zone->setEndRule(0, -1, 0, 0, status);
1199 zone->setEndRule(0, -1, 0, status);
1205 delete zone;