Home
last modified time | relevance | path

Searched refs:transIdx (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/i18n/
Dolsontz.h302 int64_t transitionTimeInSeconds(int16_t transIdx) const;
303 double transitionTime(int16_t transIdx) const;
309 int32_t zoneOffsetAt(int16_t transIdx) const;
310 int32_t rawOffsetAt(int16_t transIdx) const;
311 int32_t dstOffsetAt(int16_t transIdx) const;
410 OlsonTimeZone::transitionTime(int16_t transIdx) const { in transitionTime() argument
411 return (double)transitionTimeInSeconds(transIdx) * U_MILLIS_PER_SECOND; in transitionTime()
415 OlsonTimeZone::zoneOffsetAt(int16_t transIdx) const { in zoneOffsetAt() argument
416 int16_t typeIdx = (transIdx >= 0 ? typeMapData[transIdx] : 0) << 1; in zoneOffsetAt()
421 OlsonTimeZone::rawOffsetAt(int16_t transIdx) const { in rawOffsetAt() argument
[all …]
Dolsontz.cpp451 OlsonTimeZone::transitionTimeInSeconds(int16_t transIdx) const { in transitionTimeInSeconds()
452 U_ASSERT(transIdx >= 0 && transIdx < transitionCount()); in transitionTimeInSeconds()
454 if (transIdx < transitionCountPre32) { in transitionTimeInSeconds()
455 return (((int64_t)((uint32_t)transitionTimesPre32[transIdx << 1])) << 32) in transitionTimeInSeconds()
456 | ((int64_t)((uint32_t)transitionTimesPre32[(transIdx << 1) + 1])); in transitionTimeInSeconds()
459 transIdx -= transitionCountPre32; in transitionTimeInSeconds()
460 if (transIdx < transitionCount32) { in transitionTimeInSeconds()
461 return (int64_t)transitionTimes32[transIdx]; in transitionTimeInSeconds()
464 transIdx -= transitionCount32; in transitionTimeInSeconds()
465 return (((int64_t)((uint32_t)transitionTimesPost32[transIdx << 1])) << 32) in transitionTimeInSeconds()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java689 int transIdx; in getHistoricalOffset() local
690 for (transIdx = transitionCount - 1; transIdx >= 0; transIdx--) { in getHistoricalOffset()
691 long transition = transitionTimes64[transIdx]; in getHistoricalOffset()
693 int offsetBefore = zoneOffsetAt(transIdx - 1); in getHistoricalOffset()
694 boolean dstBefore = dstOffsetAt(transIdx - 1) != 0; in getHistoricalOffset()
696 int offsetAfter = zoneOffsetAt(transIdx); in getHistoricalOffset()
697 boolean dstAfter = dstOffsetAt(transIdx) != 0; in getHistoricalOffset()
739 offsets[0] = rawOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
740 offsets[1] = dstOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
757 private int zoneOffsetAt(int transIdx) { in zoneOffsetAt() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DOlsonTimeZone.java691 int transIdx; in getHistoricalOffset() local
692 for (transIdx = transitionCount - 1; transIdx >= 0; transIdx--) { in getHistoricalOffset()
693 long transition = transitionTimes64[transIdx]; in getHistoricalOffset()
695 int offsetBefore = zoneOffsetAt(transIdx - 1); in getHistoricalOffset()
696 boolean dstBefore = dstOffsetAt(transIdx - 1) != 0; in getHistoricalOffset()
698 int offsetAfter = zoneOffsetAt(transIdx); in getHistoricalOffset()
699 boolean dstAfter = dstOffsetAt(transIdx) != 0; in getHistoricalOffset()
741 offsets[0] = rawOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
742 offsets[1] = dstOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
759 private int zoneOffsetAt(int transIdx) { in zoneOffsetAt() argument
[all …]