Home
last modified time | relevance | path

Searched refs:MILLIS_PER_SECOND (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java351 long currentSec = Grego.floorDivide(current, Grego.MILLIS_PER_SECOND); in observesDaylightTime()
588 int ruleRaw = r.getInt() * Grego.MILLIS_PER_SECOND; in construct()
597 ruleData[3] * Grego.MILLIS_PER_SECOND, in construct()
600 ruleData[8] * Grego.MILLIS_PER_SECOND, in construct()
602 ruleData[10] * Grego.MILLIS_PER_SECOND); in construct()
679 long sec = Grego.floorDivide(date, Grego.MILLIS_PER_SECOND); in getHistoricalOffset()
682 offsets[0] = initialRawOffset() * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
683 offsets[1] = initialDstOffset() * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
737 offsets[0] = rawOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
738 offsets[1] = dstOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
[all …]
DGrego.java35 public static final int MILLIS_PER_SECOND = 1000; field in Grego
36 public static final int MILLIS_PER_MINUTE = 60*MILLIS_PER_SECOND;
228 int sec = millis / MILLIS_PER_SECOND; in timeToString()
229 millis = millis % MILLIS_PER_SECOND; in timeToString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java382 private static final int MILLIS_PER_SECOND = 1000; field in TimeZoneFormat
1649 int offsetS = offset / MILLIS_PER_SECOND;
1710 …if (useUtcIndicator && (absOffset < MILLIS_PER_SECOND || (ignoreSeconds && absOffset < MILLIS_PER_…
1729 fields[2] = absOffset / MILLIS_PER_SECOND;
2550 return hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2619 offset = hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND;
2976 offset += fieldVal[2] * MILLIS_PER_SECOND;
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp119 static const int32_t MILLIS_PER_SECOND = 1000; variable
1487 …if (useUtcIndicator && (absOffset < MILLIS_PER_SECOND || (ignoreSeconds && absOffset < MILLIS_PER_… in formatOffsetISO8601()
1510 fields[2] = absOffset / MILLIS_PER_SECOND; in formatOffsetISO8601()
1574 int32_t offsetS = offset / MILLIS_PER_SECOND; in formatOffsetLocalizedGMT()
1953 offset = hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND; in parseAbuttingOffsetFields()
2068 return hour * MILLIS_PER_HOUR + min * MILLIS_PER_MINUTE + sec * MILLIS_PER_SECOND; in parseDefaultOffsetFields()
2150 fields[2] = offset / MILLIS_PER_SECOND; in formatOffsetWithAsciiDigits()
2326 offset += fieldVal[2] * MILLIS_PER_SECOND; in parseAsciiOffsetFields()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVTimeZone.java1929 int sec = t / Grego.MILLIS_PER_SECOND; in getDateTimeString()
2001 … time += (hour*Grego.MILLIS_PER_HOUR + min*Grego.MILLIS_PER_MINUTE + sec*Grego.MILLIS_PER_SECOND); in parseDateTimeString()