Home
last modified time | relevance | path

Searched refs:MILLIS_PER_HOUR (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DGrego.java39 public static final int MILLIS_PER_HOUR = 60*MILLIS_PER_MINUTE; field in Grego
40 public static final int MILLIS_PER_DAY = 24*MILLIS_PER_HOUR;
226 int hour = millis / MILLIS_PER_HOUR; in timeToString()
227 millis = millis % MILLIS_PER_HOUR; in timeToString()
DTimeZoneNamesImpl.java948 + (long)hour * Grego.MILLIS_PER_HOUR + (long)min * Grego.MILLIS_PER_MINUTE;
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DGrego.java41 public static final int MILLIS_PER_HOUR = 60*MILLIS_PER_MINUTE; field in Grego
42 public static final int MILLIS_PER_DAY = 24*MILLIS_PER_HOUR;
228 int hour = millis / MILLIS_PER_HOUR; in timeToString()
229 millis = millis % MILLIS_PER_HOUR; in timeToString()
DTimeZoneNamesImpl.java950 + (long)hour * Grego.MILLIS_PER_HOUR + (long)min * Grego.MILLIS_PER_MINUTE;
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp119 static const int32_t MILLIS_PER_HOUR = 60 * 60 * 1000; variable
124 static int32_t MAX_OFFSET = 24 * MILLIS_PER_HOUR;
1508 fields[0] = absOffset / MILLIS_PER_HOUR; in formatOffsetISO8601()
1509 absOffset = absOffset % MILLIS_PER_HOUR; in formatOffsetISO8601()
1572 int32_t offsetH = offset / MILLIS_PER_HOUR; in formatOffsetLocalizedGMT()
1573 offset = offset % MILLIS_PER_HOUR; in formatOffsetLocalizedGMT()
1955 offset = hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND; in parseAbuttingOffsetFields()
2070 return hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND; in parseDefaultOffsetFields()
2148 fields[0] = offset / MILLIS_PER_HOUR; in formatOffsetWithAsciiDigits()
2149 offset = offset % MILLIS_PER_HOUR; in formatOffsetWithAsciiDigits()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java346 private static final int MILLIS_PER_HOUR = 60 * 60 * 1000; field in TimeZoneFormat
351 private static final int MAX_OFFSET = 24 * MILLIS_PER_HOUR;
1577 int offsetH = offset / MILLIS_PER_HOUR;
1578 offset = offset % MILLIS_PER_HOUR;
1657 fields[0] = absOffset / MILLIS_PER_HOUR;
1658 absOffset = absOffset % MILLIS_PER_HOUR;
2482 return hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2551 offset = hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2887 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR;
2892 offset = fieldVal[0] * MILLIS_PER_HOUR;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java382 private static final int MILLIS_PER_HOUR = 60 * 60 * 1000; field in TimeZoneFormat
387 private static final int MAX_OFFSET = 24 * MILLIS_PER_HOUR;
1647 int offsetH = offset / MILLIS_PER_HOUR;
1648 offset = offset % MILLIS_PER_HOUR;
1727 fields[0] = absOffset / MILLIS_PER_HOUR;
1728 absOffset = absOffset % MILLIS_PER_HOUR;
2552 return hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2621 offset = hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2957 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR;
2962 offset = fieldVal[0] * MILLIS_PER_HOUR;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneTest.java1424 private static final int MILLIS_PER_HOUR = 60*60*1000; field in TimeZoneTest
1436 … -3 * MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
1447 … -3 * MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
1498 if ((raw + dst) != data[i+6] * MILLIS_PER_HOUR) { in TestFebruary()
1502 ") returns " + raw + "+" + dst + " != " + data[i+6] * MILLIS_PER_HOUR); in TestFebruary()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java1423 private static final int MILLIS_PER_HOUR = 60*60*1000; field in TimeZoneTest
1435 … -3 * MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
1446 … -3 * MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
1497 if ((raw + dst) != data[i+6] * MILLIS_PER_HOUR) { in TestFebruary()
1501 ") returns " + raw + "+" + dst + " != " + data[i+6] * MILLIS_PER_HOUR); in TestFebruary()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DSimpleTimeZone.java69 Grego.MILLIS_PER_HOUR); in SimpleTimeZone()
138 Grego.MILLIS_PER_HOUR); in SimpleTimeZone()
DVTimeZone.java1900 int hour = t / Grego.MILLIS_PER_HOUR; in getDateTimeString()
1901 t %= Grego.MILLIS_PER_HOUR; in getDateTimeString()
1976 … time += (hour*Grego.MILLIS_PER_HOUR + min*Grego.MILLIS_PER_MINUTE + sec*Grego.MILLIS_PER_SECOND); in parseDateTimeString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DSimpleTimeZone.java72 Grego.MILLIS_PER_HOUR); in SimpleTimeZone()
142 Grego.MILLIS_PER_HOUR); in SimpleTimeZone()
DVTimeZone.java1931 int hour = t / Grego.MILLIS_PER_HOUR; in getDateTimeString()
1932 t %= Grego.MILLIS_PER_HOUR; in getDateTimeString()
2007 … time += (hour*Grego.MILLIS_PER_HOUR + min*Grego.MILLIS_PER_MINUTE + sec*Grego.MILLIS_PER_SECOND); in parseDateTimeString()