Lines Matching refs:TimeArrayTimeZoneRule
1233 TimeArrayTimeZoneRule *t1 = new TimeArrayTimeZoneRule("t1", -3*HOUR, 0, trtimes1, 1, DateTimeRule::UTC_TIME);
1234 TimeArrayTimeZoneRule *t2 = new TimeArrayTimeZoneRule("t2", -3*HOUR, 0, trtimes1, 1, DateTimeRule::UTC_TIME);
1235 TimeArrayTimeZoneRule *t3 = new TimeArrayTimeZoneRule("t3", -3*HOUR, 0, trtimes2, 2, DateTimeRule::UTC_TIME);
1236 TimeArrayTimeZoneRule *t4 = new TimeArrayTimeZoneRule("t4", -3*HOUR, 0, trtimes1, 1, DateTimeRule::STANDARD_TIME);
1237 TimeArrayTimeZoneRule *t5 = new TimeArrayTimeZoneRule("t5", -4*HOUR, 1*HOUR, trtimes1, 1, DateTimeRule::WALL_TIME);
1352 errln("FAIL: AnnualTimeZoneRule is not equivalent to TimeArrayTimeZoneRule, but returned TRUE");
1399 // TimeArrayTimeZoneRule::operator=/clone
1400 TimeArrayTimeZoneRule t0("t0", 4*HOUR, 0, trtimes1, 1, DateTimeRule::UTC_TIME);
1402 errln("FAIL: TimeArrayTimeZoneRule t0 is not equal to t1, but got wrong result");
1406 errln("FAIL: TimeArrayTimeZoneRule t0 is equal to t1, but got wrong result");
1408 TimeArrayTimeZoneRule *t0c = t0.clone();
1410 errln("FAIL: TimeArrayTimeZoneRule t0c is equal to t1, but got wrong result");
1414 // TimeArrayTimeZoneRule::countStartTimes
1416 errln("FAIL: Bad start time count is returned by TimeArrayTimeZoneRule::countStartTimes");
1419 // TimeArrayTimeZoneRule::getStartTimeAt
1422 errln("FAIL: TimeArrayTimeZoneRule::getStartTimeAt returned TRUE for index -1");
1426 errln("FAIL: TimeArrayTimeZoneRule::getStartTimeAt returned incorrect result for index 0");
1430 errln("FAIL: TimeArrayTimeZoneRule::getStartTimeAt returned TRUE for index 1");
1433 // TimeArrayTimeZoneRule::getTimeType
1435 errln("FAIL: TimeArrayTimeZoneRule t1 uses UTC_TIME, but different type is returned");
1438 errln("FAIL: TimeArrayTimeZoneRule t4 uses STANDARD_TIME, but different type is returned");
1441 errln("FAIL: TimeArrayTimeZoneRule t5 uses WALL_TIME, but different type is returned");
1444 // TimeArrayTimeZoneRule::getFirstStart/getFinalStart
1447 errln("FAIL: Bad first start time returned from TimeArrayTimeZoneRule t1");
1451 errln("FAIL: Bad final start time returned from TimeArrayTimeZoneRule t1");
1455 errln("FAIL: Bad first start time returned from TimeArrayTimeZoneRule t4");
1459 errln("FAIL: Bad first start time returned from TimeArrayTimeZoneRule t5");
1462 // TimeArrayTimeZoneRule::getNextStart/getPreviousStart
1481 // TimeArrayTimeZoneRule::isEquivalentTo
1483 errln("FAIL: TimeArrayTimeZoneRule t1 is equivalent to t2, but returned FALSE");
1486 errln("FAIL: TimeArrayTimeZoneRule t1 is not equivalent to t3, but returned TRUE");
1489 errln("FAIL: TimeArrayTimeZoneRule t1 is not equivalent to t4, but returned TRUE");
1492 errln("FAIL: TimeArrayTimeZoneRule is not equivalent to AnnualTimeZoneRule, but returned TRUE");