Searched refs:millisPerHour (Results 1 – 8 of 8) sorted by relevance
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 58 static final int millisPerHour = 3600000; field in TimeZoneTest 681 if (tz.getRawOffset() != (-4*millisPerHour)) in TestPRTOffset() 683 tz.getRawOffset() / (double)millisPerHour); in TestPRTOffset() 705 if (time_zone.getRawOffset() != -8*millisPerHour) in TestVariousAPI518() 713 != -7*millisPerHour) in TestVariousAPI518() 877 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "dstSavingsTest", in TestDSTSavings() 879 (int)(0.5 * millisPerHour)); in TestDSTSavings() 881 if (tz.getRawOffset() != -5 * millisPerHour) in TestDSTSavings() 882 errln("Got back a raw offset of " + (tz.getRawOffset() / millisPerHour) + in TestDSTSavings() 886 if (tz.getDSTSavings() != 0.5 * millisPerHour) in TestDSTSavings() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 61 static final int millisPerHour = 3600000; field in TimeZoneTest 684 if (tz.getRawOffset() != (-4*millisPerHour)) in TestPRTOffset() 686 tz.getRawOffset() / (double)millisPerHour); in TestPRTOffset() 708 if (time_zone.getRawOffset() != -8*millisPerHour) in TestVariousAPI518() 716 != -7*millisPerHour) in TestVariousAPI518() 880 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "dstSavingsTest", in TestDSTSavings() 882 (int)(0.5 * millisPerHour)); in TestDSTSavings() 884 if (tz.getRawOffset() != -5 * millisPerHour) in TestDSTSavings() 885 errln("Got back a raw offset of " + (tz.getRawOffset() / millisPerHour) + in TestDSTSavings() 889 if (tz.getDSTSavings() != 0.5 * millisPerHour) in TestDSTSavings() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | tztest.cpp | 80 const int32_t TimeZoneTest::millisPerHour = 3600000; member in TimeZoneTest 322 double expectedOffset = (((double)expectedHour) * millisPerHour); in TestPRTOffset() 324 int32_t foundHour = (int32_t)foundOffset / millisPerHour; in TestPRTOffset() 350 …if (time_zone->getRawOffset() != - 8 * millisPerHour) dataerrln("FAIL: getRawOffset returned wrong… in TestVariousAPI518() 356 …(UCAL_DATE, status), (uint8_t)gc->get(UCAL_DAY_OF_WEEK, status), 0, status) != - 7 * millisPerHour) in TestVariousAPI518() 1646 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules() 1652 UCAL_THURSDAY, 10 * millisPerHour,status); in TestAlternateRules() 1657 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules() 1663 tz.setStartRule(UCAL_MARCH, 10, UCAL_FRIDAY, 12 * millisPerHour, TRUE, status); in TestAlternateRules() 1666 tz.setEndRule(UCAL_OCTOBER, 20, UCAL_FRIDAY, 12 * millisPerHour, FALSE, status); in TestAlternateRules() [all …]
|
D | tztest.h | 26 static const int32_t millisPerHour;
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateFormatSymbols.java | 1470 static final int millisPerHour = 60*60*1000; field in DateFormatSymbols
|
D | SimpleDateFormat.java | 904 private static final int millisPerHour = 60 * 60 * 1000; field in SimpleDateFormat 2739 resolvedSavings = millisPerHour; in parse()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateFormatSymbols.java | 1511 static final int millisPerHour = 60*60*1000; field in DateFormatSymbols
|
D | SimpleDateFormat.java | 905 private static final int millisPerHour = 60 * 60 * 1000; field in SimpleDateFormat 2752 resolvedSavings = millisPerHour; in parse()
|