• Home
  • Raw
  • Download

Lines Matching refs:HOUR

31 #define HOUR (60*60*1000)  macro
152 SimpleTimeZone stz(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone()
153 UCAL_SEPTEMBER, -30, -UCAL_SATURDAY, 1*HOUR, SimpleTimeZone::WALL_TIME, in TestSimpleRuleBasedTimeZone()
154 UCAL_FEBRUARY, 2, UCAL_SUNDAY, 1*HOUR, SimpleTimeZone::WALL_TIME, in TestSimpleRuleBasedTimeZone()
155 1*HOUR, status); in TestSimpleRuleBasedTimeZone()
166 -1*HOUR, // Raw offset in TestSimpleRuleBasedTimeZone()
167 1*HOUR); // DST saving amount in TestSimpleRuleBasedTimeZone()
172 1*HOUR, DateTimeRule::WALL_TIME); // SUN<=30 in September, at 1AM wall time in TestSimpleRuleBasedTimeZone()
174 -1*HOUR /*rawOffset*/, 1*HOUR /*dstSavings*/, dtr, in TestSimpleRuleBasedTimeZone()
181 1*HOUR, DateTimeRule::WALL_TIME); // 2nd Sunday in February, at 1AM wall time in TestSimpleRuleBasedTimeZone()
183 -1*HOUR /*rawOffset*/, 0 /*dstSavings*/, dtr, in TestSimpleRuleBasedTimeZone()
197 1*HOUR, DateTimeRule::WALL_TIME); // Last Sunday in September at 1AM wall time in TestSimpleRuleBasedTimeZone()
198 …atzr = new AnnualTimeZoneRule("RBTZ_DST2", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MA… in TestSimpleRuleBasedTimeZone()
204 1*HOUR, DateTimeRule::WALL_TIME); // SUN>=8 in February, at 1AM wall time in TestSimpleRuleBasedTimeZone()
205 …atzr = new AnnualTimeZoneRule("RBTZ_STD2", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEA… in TestSimpleRuleBasedTimeZone()
218 2*HOUR, DateTimeRule::UTC_TIME); in TestSimpleRuleBasedTimeZone()
219 …atzr = new AnnualTimeZoneRule("RBTZ_DST3", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MA… in TestSimpleRuleBasedTimeZone()
225 0*HOUR, DateTimeRule::STANDARD_TIME); in TestSimpleRuleBasedTimeZone()
226 …atzr = new AnnualTimeZoneRule("RBTZ_STD3", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEA… in TestSimpleRuleBasedTimeZone()
369 if (offset != -1*HOUR) { in TestSimpleRuleBasedTimeZone()
385 const int32_t RAW = -10*HOUR; in TestSimpleRuleBasedTimeZone()
397 dtr = new DateTimeRule(UCAL_OCTOBER, 15, 1*HOUR, DateTimeRule::WALL_TIME); in TestSimpleRuleBasedTimeZone()
398 …atzr = new AnnualTimeZoneRule("3RD_ATZ", -1*HOUR, 2*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_… in TestSimpleRuleBasedTimeZone()
407 InitialTimeZoneRule *ir1 = new InitialTimeZoneRule("Test Initial", 2*HOUR, 0); in TestSimpleRuleBasedTimeZone()
435 InitialTimeZoneRule *ir = new InitialTimeZoneRule("EST", -5*HOUR, 0); in TestHistoricalRuleBasedTimeZone()
443 2*HOUR, DateTimeRule::WALL_TIME); // Last Sunday in October, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
444 tzr = new AnnualTimeZoneRule("EST", -5*HOUR /*rawOffset*/, 0 /*dstSavings*/, dtr, 1967, 2006); in TestHistoricalRuleBasedTimeZone()
451 true, 2*HOUR, DateTimeRule::WALL_TIME); // SUN>=1 in November, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
452 tzr = new AnnualTimeZoneRule("EST", -5*HOUR, 0, dtr, 2007, AnnualTimeZoneRule::MAX_YEAR); in TestHistoricalRuleBasedTimeZone()
460 2*HOUR, DateTimeRule::WALL_TIME); // Last Sunday in April, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
461 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1967, 1973); in TestHistoricalRuleBasedTimeZone()
468 2*HOUR, DateTimeRule::WALL_TIME); // January 6, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
469 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1974, 1974); in TestHistoricalRuleBasedTimeZone()
476 2*HOUR, DateTimeRule::WALL_TIME); // February 23, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
477 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1975, 1975); in TestHistoricalRuleBasedTimeZone()
484 2*HOUR, DateTimeRule::WALL_TIME); // Last Sunday in April, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
485 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1976, 1986); in TestHistoricalRuleBasedTimeZone()
492 true, 2*HOUR, DateTimeRule::WALL_TIME); // SUN>=1 in April, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
493 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1987, 2006); in TestHistoricalRuleBasedTimeZone()
500 true, 2*HOUR, DateTimeRule::WALL_TIME); // SUN>=8 in March, at 2AM wall time in TestHistoricalRuleBasedTimeZone()
501 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 2007, AnnualTimeZoneRule::MAX_YEAR); in TestHistoricalRuleBasedTimeZone()
1209 3*HOUR, DateTimeRule::WALL_TIME); // Last Sunday on or before Feb 29, at 3 AM, wall time in TestTimeZoneRuleCoverage()
1210 DateTimeRule *dtr2 = new DateTimeRule(UCAL_MARCH, 11, 2*HOUR, in TestTimeZoneRuleCoverage()
1213 6*HOUR, DateTimeRule::UTC_TIME); //Last Saturday in Oct, at 6 AM, UTC in TestTimeZoneRuleCoverage()
1215 2*HOUR, DateTimeRule::WALL_TIME); // First Sunday on or after Mar 8, at 2 AM, wall time in TestTimeZoneRuleCoverage()
1217 AnnualTimeZoneRule *a1 = new AnnualTimeZoneRule("a1", -3*HOUR, 1*HOUR, *dtr1, in TestTimeZoneRuleCoverage()
1219 AnnualTimeZoneRule *a2 = new AnnualTimeZoneRule("a2", -3*HOUR, 1*HOUR, *dtr1, in TestTimeZoneRuleCoverage()
1221 AnnualTimeZoneRule *a3 = new AnnualTimeZoneRule("a3", -3*HOUR, 1*HOUR, *dtr1, in TestTimeZoneRuleCoverage()
1224 InitialTimeZoneRule *i1 = new InitialTimeZoneRule("i1", -3*HOUR, 0); in TestTimeZoneRuleCoverage()
1225 InitialTimeZoneRule *i2 = new InitialTimeZoneRule("i2", -3*HOUR, 0); in TestTimeZoneRuleCoverage()
1226 InitialTimeZoneRule *i3 = new InitialTimeZoneRule("i3", -3*HOUR, 1*HOUR); in TestTimeZoneRuleCoverage()
1231 …TimeArrayTimeZoneRule *t1 = new TimeArrayTimeZoneRule("t1", -3*HOUR, 0, trtimes1, 1, DateTimeRule:… in TestTimeZoneRuleCoverage()
1232 …TimeArrayTimeZoneRule *t2 = new TimeArrayTimeZoneRule("t2", -3*HOUR, 0, trtimes1, 1, DateTimeRule:… in TestTimeZoneRuleCoverage()
1233 …TimeArrayTimeZoneRule *t3 = new TimeArrayTimeZoneRule("t3", -3*HOUR, 0, trtimes2, 2, DateTimeRule:… in TestTimeZoneRuleCoverage()
1234 …TimeArrayTimeZoneRule *t4 = new TimeArrayTimeZoneRule("t4", -3*HOUR, 0, trtimes1, 1, DateTimeRule:… in TestTimeZoneRuleCoverage()
1235 …TimeArrayTimeZoneRule *t5 = new TimeArrayTimeZoneRule("t5", -4*HOUR, 1*HOUR, trtimes1, 1, DateTime… in TestTimeZoneRuleCoverage()
1238 DateTimeRule dtr0(UCAL_MAY, 31, 2*HOUR, DateTimeRule::WALL_TIME); in TestTimeZoneRuleCoverage()
1253 AnnualTimeZoneRule a0("a0", 5*HOUR, 1*HOUR, *dtr1, 1990, AnnualTimeZoneRule::MAX_YEAR); in TestTimeZoneRuleCoverage()
1291 b1 = a1->getStartInYear(2005, -3*HOUR, 0, d1); in TestTimeZoneRuleCoverage()
1292 b2 = a3->getStartInYear(2005, -3*HOUR, 0, d2); in TestTimeZoneRuleCoverage()
1296 b2 = a3->getStartInYear(2015, -3*HOUR, 0, d2); in TestTimeZoneRuleCoverage()
1302 b1 = a1->getFirstStart(-3*HOUR, 0, d1); in TestTimeZoneRuleCoverage()
1303 b2 = a1->getFirstStart(-4*HOUR, 1*HOUR, d2); in TestTimeZoneRuleCoverage()
1309 b1 = a1->getFinalStart(-3*HOUR, 0, d1); in TestTimeZoneRuleCoverage()
1313 b1 = a1->getStartInYear(2010, -3*HOUR, 0, d1); in TestTimeZoneRuleCoverage()
1314 b2 = a3->getFinalStart(-3*HOUR, 0, d2); in TestTimeZoneRuleCoverage()
1320 b1 = a1->getNextStart(time1, -3*HOUR, 0, FALSE, d1); in TestTimeZoneRuleCoverage()
1324 b2 = a1->getPreviousStart(d1, -3*HOUR, 0, TRUE, d2); in TestTimeZoneRuleCoverage()
1329 b1 = a3->getNextStart(time2, -3*HOUR, 0, FALSE, d1); in TestTimeZoneRuleCoverage()
1333 b1 = a3->getFinalStart(-3*HOUR, 0, d1); in TestTimeZoneRuleCoverage()
1334 b2 = a3->getPreviousStart(time2, -3*HOUR, 0, FALSE, d2); in TestTimeZoneRuleCoverage()
1354 InitialTimeZoneRule i0("i0", 10*HOUR, 0); in TestTimeZoneRuleCoverage()
1398 TimeArrayTimeZoneRule t0("t0", 4*HOUR, 0, trtimes1, 1, DateTimeRule::UTC_TIME); in TestTimeZoneRuleCoverage()
1451 b1 = t4->getFirstStart(-4*HOUR, 1*HOUR, d1); in TestTimeZoneRuleCoverage()
1452 if (!b1 || d1 != (trtimes1[0] + 4*HOUR)) { in TestTimeZoneRuleCoverage()
1455 b1 = t5->getFirstStart(-4*HOUR, 1*HOUR, d1); in TestTimeZoneRuleCoverage()
1456 if (!b1 || d1 != (trtimes1[0] + 3*HOUR)) { in TestTimeZoneRuleCoverage()
1461 b1 = t3->getNextStart(time1, -3*HOUR, 1*HOUR, FALSE, d1); in TestTimeZoneRuleCoverage()
1465 b1 = t3->getPreviousStart(time1, -3*HOUR, 1*HOUR, FALSE, d1); in TestTimeZoneRuleCoverage()
1469 b2 = t3->getPreviousStart(d1, -3*HOUR, 1*HOUR, FALSE, d2); in TestTimeZoneRuleCoverage()
1474 …b1 = t3->getPreviousStart(time3, -3*HOUR, 1*HOUR, FALSE, d1); //time3 - year 1950, no result expec… in TestTimeZoneRuleCoverage()
1526 SimpleTimeZone *stz1 = new SimpleTimeZone(-5*HOUR, "GMT-5"); in TestSimpleTimeZoneCoverage()
1557 stz1->setStartRule(UCAL_MARCH, 11, 2*HOUR, status); // March 11 in TestSimpleTimeZoneCoverage()
1558 stz1->setEndRule(UCAL_NOVEMBER, 1, UCAL_SUNDAY, 2*HOUR, status); // First Sunday in November in TestSimpleTimeZoneCoverage()
1694 const int32_t RAW = -10*HOUR; in TestVTimeZoneCoverage()
1881 if (rawOffset != 9*HOUR || dstSavings != 0) { in TestVTimeZoneParse()
2212 ir1 = izrule_open(uname, 13, 2*HOUR, 0); in TestVTimeZoneWrapper()
2224 b = izrule_getFirstStart(ir1, 2*HOUR, 0, result); in TestVTimeZoneWrapper()
2225 b = izrule_getFinalStart(ir1, 2*HOUR, 0, result); in TestVTimeZoneWrapper()
2226 b = izrule_getNextStart(ir1, base , 2*HOUR, 0, true, result); in TestVTimeZoneWrapper()
2227 b = izrule_getPreviousStart(ir1, base, 2*HOUR, 0, true, result); in TestVTimeZoneWrapper()