• Home
  • Raw
  • Download

Lines Matching refs:dtr

163     DateTimeRule *dtr;  in TestSimpleRuleBasedTimeZone()  local
174 dtr = new DateTimeRule(UCAL_SEPTEMBER, 30, UCAL_SATURDAY, false, in TestSimpleRuleBasedTimeZone()
177 -1*HOUR /*rawOffset*/, 1*HOUR /*dstSavings*/, dtr, in TestSimpleRuleBasedTimeZone()
183 dtr = new DateTimeRule(UCAL_FEBRUARY, 2, UCAL_SUNDAY, in TestSimpleRuleBasedTimeZone()
186 -1*HOUR /*rawOffset*/, 0 /*dstSavings*/, dtr, in TestSimpleRuleBasedTimeZone()
199 dtr = new DateTimeRule(UCAL_SEPTEMBER, -1, UCAL_SATURDAY, in TestSimpleRuleBasedTimeZone()
201 …atzr = new AnnualTimeZoneRule("RBTZ_DST2", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MA… in TestSimpleRuleBasedTimeZone()
206 dtr = new DateTimeRule(UCAL_FEBRUARY, 8, UCAL_SUNDAY, true, in TestSimpleRuleBasedTimeZone()
208 …atzr = new AnnualTimeZoneRule("RBTZ_STD2", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEA… in TestSimpleRuleBasedTimeZone()
220 dtr = new DateTimeRule(UCAL_SEPTEMBER, 30, UCAL_SATURDAY, false, in TestSimpleRuleBasedTimeZone()
222 …atzr = new AnnualTimeZoneRule("RBTZ_DST3", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MA… in TestSimpleRuleBasedTimeZone()
227 dtr = new DateTimeRule(UCAL_FEBRUARY, 2, UCAL_SUNDAY, in TestSimpleRuleBasedTimeZone()
229 …atzr = new AnnualTimeZoneRule("RBTZ_STD3", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEA… in TestSimpleRuleBasedTimeZone()
400 dtr = new DateTimeRule(UCAL_OCTOBER, 15, 1*HOUR, DateTimeRule::WALL_TIME); in TestSimpleRuleBasedTimeZone()
401 …atzr = new AnnualTimeZoneRule("3RD_ATZ", -1*HOUR, 2*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_… in TestSimpleRuleBasedTimeZone()
437 DateTimeRule *dtr; in TestHistoricalRuleBasedTimeZone() local
441 dtr = new DateTimeRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
443 tzr = new AnnualTimeZoneRule("EST", -5*HOUR /*rawOffset*/, 0 /*dstSavings*/, dtr, 1967, 2006); in TestHistoricalRuleBasedTimeZone()
449 dtr = new DateTimeRule(UCAL_NOVEMBER, 1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
451 tzr = new AnnualTimeZoneRule("EST", -5*HOUR, 0, dtr, 2007, AnnualTimeZoneRule::MAX_YEAR); in TestHistoricalRuleBasedTimeZone()
458 dtr = new DateTimeRule(UCAL_APRIL, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
460 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1967, 1973); in TestHistoricalRuleBasedTimeZone()
466 dtr = new DateTimeRule(UCAL_JANUARY, 6, in TestHistoricalRuleBasedTimeZone()
468 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1974, 1974); in TestHistoricalRuleBasedTimeZone()
474 dtr = new DateTimeRule(UCAL_FEBRUARY, 23, in TestHistoricalRuleBasedTimeZone()
476 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1975, 1975); in TestHistoricalRuleBasedTimeZone()
482 dtr = new DateTimeRule(UCAL_APRIL, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
484 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1976, 1986); in TestHistoricalRuleBasedTimeZone()
490 dtr = new DateTimeRule(UCAL_APRIL, 1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
492 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1987, 2006); in TestHistoricalRuleBasedTimeZone()
498 dtr = new DateTimeRule(UCAL_MARCH, 8, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
500 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 2007, AnnualTimeZoneRule::MAX_YEAR); in TestHistoricalRuleBasedTimeZone()
1144 const DateTimeRule *dtr = std->getRule(); in TestGetSimpleRules() local
1145 if (dtr->getDateRuleType() != DateTimeRule::DOW) { in TestGetSimpleRules()
1149 if (dtr->getTimeRuleType() != DateTimeRule::WALL_TIME) { in TestGetSimpleRules()
1153 dtr = dst->getRule(); in TestGetSimpleRules()
1154 if (dtr->getDateRuleType() != DateTimeRule::DOW) { in TestGetSimpleRules()
1158 if (dtr->getTimeRuleType() != DateTimeRule::WALL_TIME) { in TestGetSimpleRules()