Home
last modified time | relevance | path

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

/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/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/icu4c/source/i18n/
Dtzfmt.cpp123 static const int32_t MILLIS_PER_HOUR = 60 * 60 * 1000; variable
128 static int32_t MAX_OFFSET = 24 * MILLIS_PER_HOUR;
1512 fields[0] = absOffset / MILLIS_PER_HOUR; in formatOffsetISO8601()
1513 absOffset = absOffset % MILLIS_PER_HOUR; in formatOffsetISO8601()
1576 int32_t offsetH = offset / MILLIS_PER_HOUR; in formatOffsetLocalizedGMT()
1577 offset = offset % MILLIS_PER_HOUR; in formatOffsetLocalizedGMT()
1982 offset = hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND; in parseAbuttingOffsetFields()
2097 return hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND; in parseDefaultOffsetFields()
2175 fields[0] = offset / MILLIS_PER_HOUR; in formatOffsetWithAsciiDigits()
2176 offset = offset % MILLIS_PER_HOUR; in formatOffsetWithAsciiDigits()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java347 private static final int MILLIS_PER_HOUR = 60 * 60 * 1000; field in TimeZoneFormat
352 private static final int MAX_OFFSET = 24 * MILLIS_PER_HOUR;
1578 int offsetH = offset / MILLIS_PER_HOUR;
1579 offset = offset % MILLIS_PER_HOUR;
1658 fields[0] = absOffset / MILLIS_PER_HOUR;
1659 absOffset = absOffset % MILLIS_PER_HOUR;
2502 return hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2571 offset = hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2907 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR;
2912 offset = fieldVal[0] * MILLIS_PER_HOUR;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java383 private static final int MILLIS_PER_HOUR = 60 * 60 * 1000; field in TimeZoneFormat
388 private static final int MAX_OFFSET = 24 * MILLIS_PER_HOUR;
1648 int offsetH = offset / MILLIS_PER_HOUR;
1649 offset = offset % MILLIS_PER_HOUR;
1728 fields[0] = absOffset / MILLIS_PER_HOUR;
1729 absOffset = absOffset % MILLIS_PER_HOUR;
2572 return hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2641 offset = hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2977 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR;
2982 offset = fieldVal[0] * MILLIS_PER_HOUR;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java1419 private static final int MILLIS_PER_HOUR = 60*60*1000; field in TimeZoneTest
1431 … -3 * MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
1442 … -3 * MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
1493 if ((raw + dst) != data[i+6] * MILLIS_PER_HOUR) { in TestFebruary()
1497 ") returns " + raw + "+" + dst + " != " + data[i+6] * MILLIS_PER_HOUR); in TestFebruary()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneTest.java1422 private static final int MILLIS_PER_HOUR = 60*60*1000; field in TimeZoneTest
1434 … -3 * MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
1445 … -3 * MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary()
1496 if ((raw + dst) != data[i+6] * MILLIS_PER_HOUR) { in TestFebruary()
1500 ") 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()
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java1289 int MILLIS_PER_HOUR = MILLIS_PER_MINUTE * 60; in handleTimeZoneName() local
1290 int tm_hrs = tzOffset / MILLIS_PER_HOUR; in handleTimeZoneName()
1291 int tm_mins = (tzOffset % MILLIS_PER_HOUR) / 60000; // millis per minute in handleTimeZoneName()