Home
last modified time | relevance | path

Searched refs:millisPerHour (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java50 static final int millisPerHour = 3600000; field in TimeZoneTest
683 if (tz.getRawOffset() != (-4*millisPerHour)) in TestPRTOffset()
685 tz.getRawOffset() / (double)millisPerHour); in TestPRTOffset()
706 if (time_zone.getRawOffset() != -8*millisPerHour) in TestVariousAPI518()
714 != -7*millisPerHour) in TestVariousAPI518()
875 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "dstSavingsTest", in TestDSTSavings()
877 (int)(0.5 * millisPerHour)); in TestDSTSavings()
879 if (tz.getRawOffset() != -5 * millisPerHour) in TestDSTSavings()
880 errln("Got back a raw offset of " + (tz.getRawOffset() / millisPerHour) + in TestDSTSavings()
884 if (tz.getDSTSavings() != 0.5 * millisPerHour) in TestDSTSavings()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneTest.java54 static final int millisPerHour = 3600000; field in TimeZoneTest
687 if (tz.getRawOffset() != (-4*millisPerHour)) in TestPRTOffset()
689 tz.getRawOffset() / (double)millisPerHour); in TestPRTOffset()
710 if (time_zone.getRawOffset() != -8*millisPerHour) in TestVariousAPI518()
718 != -7*millisPerHour) in TestVariousAPI518()
879 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "dstSavingsTest", in TestDSTSavings()
881 (int)(0.5 * millisPerHour)); in TestDSTSavings()
883 if (tz.getRawOffset() != -5 * millisPerHour) in TestDSTSavings()
884 errln("Got back a raw offset of " + (tz.getRawOffset() / millisPerHour) + in TestDSTSavings()
888 if (tz.getDSTSavings() != 0.5 * millisPerHour) in TestDSTSavings()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtztest.cpp78 const int32_t TimeZoneTest::millisPerHour = 3600000; member in TimeZoneTest
317 double expectedOffset = (((double)expectedHour) * millisPerHour); in TestPRTOffset()
319 int32_t foundHour = (int32_t)foundOffset / millisPerHour; in TestPRTOffset()
345 …if (time_zone->getRawOffset() != - 8 * millisPerHour) dataerrln("FAIL: getRawOffset returned wrong… in TestVariousAPI518()
351 …(UCAL_DATE, status), (uint8_t)gc->get(UCAL_DAY_OF_WEEK, status), 0, status) != - 7 * millisPerHour) in TestVariousAPI518()
1619 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules()
1625 UCAL_THURSDAY, 10 * millisPerHour,status); in TestAlternateRules()
1630 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules()
1636 tz.setStartRule(UCAL_MARCH, 10, UCAL_FRIDAY, 12 * millisPerHour, TRUE, status); in TestAlternateRules()
1639 tz.setEndRule(UCAL_OCTOBER, 20, UCAL_FRIDAY, 12 * millisPerHour, FALSE, status); in TestAlternateRules()
[all …]
Dtztest.h24 static const int32_t millisPerHour;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormatSymbols.java1442 static final int millisPerHour = 60*60*1000; field in DateFormatSymbols
DSimpleDateFormat.java898 private static final int millisPerHour = 60 * 60 * 1000; field in SimpleDateFormat
2501 resolvedSavings = millisPerHour; in parse()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormatSymbols.java1400 static final int millisPerHour = 60*60*1000; field in DateFormatSymbols
DSimpleDateFormat.java897 private static final int millisPerHour = 60 * 60 * 1000; field in SimpleDateFormat
2488 resolvedSavings = millisPerHour; in parse()