Home | History | Annotate | Download | only in intltest

Lines Matching refs:SimpleTimeZone

87 UDate TimeZoneRegressionTest::findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max) {
90 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0;
95 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0;
103 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0;
108 UDate TimeZoneRegressionTest::findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max) {
111 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0;
116 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0;
130 SimpleTimeZone *z = new SimpleTimeZone(0, "GMT");
548 * SimpleTimeZone::hasSameRules() doesn't work for zones with no DST
554 SimpleTimeZone *tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0, status);
555 SimpleTimeZone *tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0, status);
557 SimpleTimeZone *tza = new SimpleTimeZone(0, "a", 0, 1, 0, 0, 3, 2, 0, 0, status);
558 SimpleTimeZone *tzA = new SimpleTimeZone(0, "A", 0, 1, 0, 0, 3, 2, 0, 0, status);
560 SimpleTimeZone *tzb = new SimpleTimeZone(0, "b", 0, 1, 0, 0, 3, 1, 0, 0, status);
588 * SimpleTimeZOne constructors, setStartRule(), and setEndRule() don't
621 SimpleTimeZone *zone = new SimpleTimeZone(0, "Z");
662 SimpleTimeZone *temp = new SimpleTimeZone(0, "Z",
670 errln(UnicodeString("SimpleTimeZone(month=") + month + ", day=" + day +
680 temp = new SimpleTimeZone(0, "Z",
688 errln(UnicodeString("SimpleTimeZone(<start>, month=") + month + ", day=" + day +
701 * SimpleTimeZone accepts illegal DST savings values. These values
724 SimpleTimeZone *z=NULL;
728 z = new SimpleTimeZone(0, "id",
735 z = new SimpleTimeZone(0, "GMT");
764 * SimpleTimeZone.getOffset accepts illegal arguments.
851 SimpleTimeZone *asuncion = new SimpleTimeZone(-4*ONE_HOUR, "America/Asuncion" /*PY%sT*/,
877 new SimpleTimeZone(2*ONE_HOUR, "Asia/Damascus" /*EE%sT*/,
923 SimpleTimeZone* z1 = new SimpleTimeZone(offset, "_std_zone_");
927 SimpleTimeZone* z2 = new SimpleTimeZone(offset, "_dst_zone_");
995 SimpleTimeZone z(0, "ID");
1080 TimeZone *pst = new SimpleTimeZone(-28800*U_MILLIS_PER_SECOND,
1083 SimpleTimeZone::WALL_TIME,
1085 SimpleTimeZone::WALL_TIME,
1088 TimeZone *cst1 = new SimpleTimeZone(-21600*U_MILLIS_PER_SECOND,
1091 SimpleTimeZone::WALL_TIME,
1093 SimpleTimeZone::WALL_TIME,
1096 errln("FAIL: SimpleTimeZone constructor");
1100 SimpleTimeZone *cst = dynamic_cast<SimpleTimeZone *>(cst1);
1138 * SimpleTimeZone allows invalid DOM values.
1141 SimpleTimeZone* zone = NULL;
1143 zone = new SimpleTimeZone(0, "A", 0, -1, 0, 0, 0, 0, 0, 0, status);
1152 zone = new SimpleTimeZone(0, "A", 0, 0, 0, 0, 0, -1, 0, 0, status);
1161 zone = new SimpleTimeZone(0, "A", 0, -1, 0, 0, 0, 0, 0, 1000, status);
1169 zone = new SimpleTimeZone(0, "A", 0, 0, 0, 0, 0, -1, 0, 0, 1000, status);
1178 zone = new SimpleTimeZone(0, "A", 0, 1, 0, 0, 0, 1, 0, 0, status);