• Home
  • Raw
  • Download

Lines Matching refs:DateTimeRule

163     DateTimeRule *dtr;  in TestSimpleRuleBasedTimeZone()
174 dtr = new DateTimeRule(UCAL_SEPTEMBER, 30, UCAL_SATURDAY, FALSE, in TestSimpleRuleBasedTimeZone()
175 1*HOUR, DateTimeRule::WALL_TIME); // SUN<=30 in September, at 1AM wall time in TestSimpleRuleBasedTimeZone()
183 dtr = new DateTimeRule(UCAL_FEBRUARY, 2, UCAL_SUNDAY, in TestSimpleRuleBasedTimeZone()
184 1*HOUR, DateTimeRule::WALL_TIME); // 2nd Sunday in February, at 1AM wall time in TestSimpleRuleBasedTimeZone()
199 dtr = new DateTimeRule(UCAL_SEPTEMBER, -1, UCAL_SATURDAY, in TestSimpleRuleBasedTimeZone()
200 1*HOUR, DateTimeRule::WALL_TIME); // Last Sunday in September at 1AM wall time in TestSimpleRuleBasedTimeZone()
206 dtr = new DateTimeRule(UCAL_FEBRUARY, 8, UCAL_SUNDAY, true, in TestSimpleRuleBasedTimeZone()
207 1*HOUR, DateTimeRule::WALL_TIME); // SUN>=8 in February, at 1AM wall time in TestSimpleRuleBasedTimeZone()
220 dtr = new DateTimeRule(UCAL_SEPTEMBER, 30, UCAL_SATURDAY, false, in TestSimpleRuleBasedTimeZone()
221 2*HOUR, DateTimeRule::UTC_TIME); in TestSimpleRuleBasedTimeZone()
227 dtr = new DateTimeRule(UCAL_FEBRUARY, 2, UCAL_SUNDAY, in TestSimpleRuleBasedTimeZone()
228 0*HOUR, DateTimeRule::STANDARD_TIME); in TestSimpleRuleBasedTimeZone()
400 dtr = new DateTimeRule(UCAL_OCTOBER, 15, 1*HOUR, DateTimeRule::WALL_TIME); in TestSimpleRuleBasedTimeZone()
441 DateTimeRule *dtr; in TestHistoricalRuleBasedTimeZone()
445 dtr = new DateTimeRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
446 2*HOUR, DateTimeRule::WALL_TIME); // Last Sunday in October, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
453 dtr = new DateTimeRule(UCAL_NOVEMBER, 1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
454 true, 2*HOUR, DateTimeRule::WALL_TIME); // SUN>=1 in November, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
462 dtr = new DateTimeRule(UCAL_APRIL, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
463 2*HOUR, DateTimeRule::WALL_TIME); // Last Sunday in April, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
470 dtr = new DateTimeRule(UCAL_JANUARY, 6, in TestHistoricalRuleBasedTimeZone()
471 2*HOUR, DateTimeRule::WALL_TIME); // January 6, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
478 dtr = new DateTimeRule(UCAL_FEBRUARY, 23, in TestHistoricalRuleBasedTimeZone()
479 2*HOUR, DateTimeRule::WALL_TIME); // February 23, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
486 dtr = new DateTimeRule(UCAL_APRIL, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
487 2*HOUR, DateTimeRule::WALL_TIME); // Last Sunday in April, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
494 dtr = new DateTimeRule(UCAL_APRIL, 1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
495 true, 2*HOUR, DateTimeRule::WALL_TIME); // SUN>=1 in April, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
502 dtr = new DateTimeRule(UCAL_MARCH, 8, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
503 true, 2*HOUR, DateTimeRule::WALL_TIME); // SUN>=8 in March, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
1148 const DateTimeRule *dtr = std->getRule(); in TestGetSimpleRules()
1149 if (dtr->getDateRuleType() != DateTimeRule::DOW) { in TestGetSimpleRules()
1153 if (dtr->getTimeRuleType() != DateTimeRule::WALL_TIME) { in TestGetSimpleRules()
1158 if (dtr->getDateRuleType() != DateTimeRule::DOW) { in TestGetSimpleRules()
1162 if (dtr->getTimeRuleType() != DateTimeRule::WALL_TIME) { in TestGetSimpleRules()
1211 DateTimeRule *dtr1 = new DateTimeRule(UCAL_FEBRUARY, 29, UCAL_SUNDAY, FALSE, in TestTimeZoneRuleCoverage()
1212 3*HOUR, DateTimeRule::WALL_TIME); // Last Sunday on or before Feb 29, at 3 AM, wall time in TestTimeZoneRuleCoverage()
1213 DateTimeRule *dtr2 = new DateTimeRule(UCAL_MARCH, 11, 2*HOUR, in TestTimeZoneRuleCoverage()
1214 DateTimeRule::STANDARD_TIME); // Mar 11, at 2 AM, standard time in TestTimeZoneRuleCoverage()
1215 DateTimeRule *dtr3 = new DateTimeRule(UCAL_OCTOBER, -1, UCAL_SATURDAY, in TestTimeZoneRuleCoverage()
1216 6*HOUR, DateTimeRule::UTC_TIME); //Last Saturday in Oct, at 6 AM, UTC in TestTimeZoneRuleCoverage()
1217 DateTimeRule *dtr4 = new DateTimeRule(UCAL_MARCH, 8, UCAL_SUNDAY, TRUE, in TestTimeZoneRuleCoverage()
1218 2*HOUR, DateTimeRule::WALL_TIME); // First Sunday on or after Mar 8, at 2 AM, wall time in TestTimeZoneRuleCoverage()
1234 …imeZoneRule *t1 = new TimeArrayTimeZoneRule("t1", -3*HOUR, 0, trtimes1, 1, DateTimeRule::UTC_TIME); in TestTimeZoneRuleCoverage()
1235 …imeZoneRule *t2 = new TimeArrayTimeZoneRule("t2", -3*HOUR, 0, trtimes1, 1, DateTimeRule::UTC_TIME); in TestTimeZoneRuleCoverage()
1236 …imeZoneRule *t3 = new TimeArrayTimeZoneRule("t3", -3*HOUR, 0, trtimes2, 2, DateTimeRule::UTC_TIME); in TestTimeZoneRuleCoverage()
1237 …neRule *t4 = new TimeArrayTimeZoneRule("t4", -3*HOUR, 0, trtimes1, 1, DateTimeRule::STANDARD_TIME); in TestTimeZoneRuleCoverage()
1238 …eRule *t5 = new TimeArrayTimeZoneRule("t5", -4*HOUR, 1*HOUR, trtimes1, 1, DateTimeRule::WALL_TIME); in TestTimeZoneRuleCoverage()
1241 DateTimeRule dtr0(UCAL_MAY, 31, 2*HOUR, DateTimeRule::WALL_TIME); in TestTimeZoneRuleCoverage()
1249 DateTimeRule *dtr0c = dtr0.clone(); in TestTimeZoneRuleCoverage()
1401 TimeArrayTimeZoneRule t0("t0", 4*HOUR, 0, trtimes1, 1, DateTimeRule::UTC_TIME); in TestTimeZoneRuleCoverage()
1435 if (t1->getTimeType() != DateTimeRule::UTC_TIME) { in TestTimeZoneRuleCoverage()
1438 if (t4->getTimeType() != DateTimeRule::STANDARD_TIME) { in TestTimeZoneRuleCoverage()
1441 if (t5->getTimeType() != DateTimeRule::WALL_TIME) { in TestTimeZoneRuleCoverage()
2633DateTimeRule *dtRule = new DateTimeRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, 10800000, DateTimeRule::WAL… in TestT8943()
2637 dtRule = new DateTimeRule(UCAL_MARCH, -1, UCAL_SUNDAY, 7200000, DateTimeRule::WALL_TIME); in TestT8943()
2641 dtRule = new DateTimeRule(UCAL_JANUARY, 1, 0, DateTimeRule::WALL_TIME); in TestT8943()
2645 dtRule = new DateTimeRule(UCAL_JANUARY, 1, 1, DateTimeRule::WALL_TIME); in TestT8943()