• Home
  • Raw
  • Download

Lines Matching refs:U_MILLIS_PER_HOUR

390     ids = TimeZone::createAvailableIDs(-8*U_MILLIS_PER_HOUR, numIDs);  in TestGetAvailableIDs913()
480 s = TimeZone::createEnumeration(1 * U_MILLIS_PER_HOUR); in TestGetAvailableIDs913()
1550 SimpleTimeZone *tz = new SimpleTimeZone(-5 * U_MILLIS_PER_HOUR, "dstSavingsTest", in TestDSTSavings()
1552 (int32_t)(0.5 * U_MILLIS_PER_HOUR), status); in TestDSTSavings()
1556 if (tz->getRawOffset() != -5 * U_MILLIS_PER_HOUR) in TestDSTSavings()
1557 … errln(UnicodeString("Got back a raw offset of ") + (tz->getRawOffset() / U_MILLIS_PER_HOUR) + in TestDSTSavings()
1561 if (tz->getDSTSavings() != 0.5 * U_MILLIS_PER_HOUR) in TestDSTSavings()
1563U_MILLIS_PER_HOUR) + " hours instead."); in TestDSTSavings()
1566 UCAL_THURSDAY, 10 * U_MILLIS_PER_HOUR,status); in TestDSTSavings()
1567 if (offset != -5 * U_MILLIS_PER_HOUR) in TestDSTSavings()
1569 + (offset / U_MILLIS_PER_HOUR) + " hours."); in TestDSTSavings()
1572 10 * U_MILLIS_PER_HOUR,status); in TestDSTSavings()
1573 if (offset != -4.5 * U_MILLIS_PER_HOUR) in TestDSTSavings()
1575 + (offset / U_MILLIS_PER_HOUR) + " hours."); in TestDSTSavings()
1577 tz->setDSTSavings(U_MILLIS_PER_HOUR, status); in TestDSTSavings()
1579 UCAL_THURSDAY, 10 * U_MILLIS_PER_HOUR,status); in TestDSTSavings()
1580 if (offset != -5 * U_MILLIS_PER_HOUR) in TestDSTSavings()
1582 + (offset / U_MILLIS_PER_HOUR) + " hours."); in TestDSTSavings()
1585 10 * U_MILLIS_PER_HOUR,status); in TestDSTSavings()
1586 if (offset != -4 * U_MILLIS_PER_HOUR) in TestDSTSavings()
1588 + (offset / U_MILLIS_PER_HOUR) + " hours."); in TestDSTSavings()
1603 SimpleTimeZone tz(-5 * U_MILLIS_PER_HOUR, "alternateRuleTest"); in TestAlternateRules()
1607 tz.setStartRule(UCAL_MARCH, 10, 12 * U_MILLIS_PER_HOUR, status); in TestAlternateRules()
1610 tz.setEndRule(UCAL_OCTOBER, 20, 12 * U_MILLIS_PER_HOUR, status); in TestAlternateRules()
1615 UCAL_THURSDAY, 10 * U_MILLIS_PER_HOUR,status); in TestAlternateRules()
1616 if (offset != -5 * U_MILLIS_PER_HOUR) in TestAlternateRules()
1618 + (offset / U_MILLIS_PER_HOUR) + " hours."); in TestAlternateRules()
1622 if (offset != -4 * U_MILLIS_PER_HOUR) in TestAlternateRules()
1624 + (offset / U_MILLIS_PER_HOUR) + " hours."); in TestAlternateRules()
1628 if (offset != -4 * U_MILLIS_PER_HOUR) in TestAlternateRules()
1629 …8 should have been -4 hours, but we got ") + (offset / U_MILLIS_PER_HOUR) + " hours."… in TestAlternateRules()
1633 if (offset != -5 * U_MILLIS_PER_HOUR) in TestAlternateRules()
1635 + (offset / U_MILLIS_PER_HOUR) + " hours."); in TestAlternateRules()
1647 if (offset != -5 * U_MILLIS_PER_HOUR) in TestAlternateRules()
1649 + (offset / U_MILLIS_PER_HOUR) + " hours."); in TestAlternateRules()
1653 if (offset != -4 * U_MILLIS_PER_HOUR) in TestAlternateRules()
1655 + (offset / U_MILLIS_PER_HOUR) + " hours."); in TestAlternateRules()
1659 if (offset != -4 * U_MILLIS_PER_HOUR) in TestAlternateRules()
1661 + (offset / U_MILLIS_PER_HOUR) + " hours."); in TestAlternateRules()
1665 if (offset != -5 * U_MILLIS_PER_HOUR) in TestAlternateRules()
1667 + (offset / U_MILLIS_PER_HOUR) + " hours."); in TestAlternateRules()
1768 const int32_t H = U_MILLIS_PER_HOUR; in TestHistorical()
1851 SimpleTimeZone tz1(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
1866 SimpleTimeZone tz2(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
1939 } else if ((raw + dst) != data[i].offsetHours * U_MILLIS_PER_HOUR) { in TestFebruary()
1944 raw, dst, data[i].offsetHours * U_MILLIS_PER_HOUR); in TestFebruary()