Searched refs:transIdx (Results 1 – 8 of 8) sorted by relevance
304 int64_t transitionTimeInSeconds(int16_t transIdx) const;305 double transitionTime(int16_t transIdx) const;311 int32_t zoneOffsetAt(int16_t transIdx) const;312 int32_t rawOffsetAt(int16_t transIdx) const;313 int32_t dstOffsetAt(int16_t transIdx) const;412 OlsonTimeZone::transitionTime(int16_t transIdx) const { in transitionTime() argument413 return (double)transitionTimeInSeconds(transIdx) * U_MILLIS_PER_SECOND; in transitionTime()417 OlsonTimeZone::zoneOffsetAt(int16_t transIdx) const { in zoneOffsetAt() argument418 int16_t typeIdx = (transIdx >= 0 ? typeMapData[transIdx] : 0) << 1; in zoneOffsetAt()423 OlsonTimeZone::rawOffsetAt(int16_t transIdx) const { in rawOffsetAt() argument[all …]
451 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 …]
450 OlsonTimeZone::transitionTimeInSeconds(int16_t transIdx) const { in transitionTimeInSeconds()451 U_ASSERT(transIdx >= 0 && transIdx < transitionCount()); in transitionTimeInSeconds()453 if (transIdx < transitionCountPre32) { in transitionTimeInSeconds()454 return (((int64_t)((uint32_t)transitionTimesPre32[transIdx << 1])) << 32) in transitionTimeInSeconds()455 | ((int64_t)((uint32_t)transitionTimesPre32[(transIdx << 1) + 1])); in transitionTimeInSeconds()458 transIdx -= transitionCountPre32; in transitionTimeInSeconds()459 if (transIdx < transitionCount32) { in transitionTimeInSeconds()460 return (int64_t)transitionTimes32[transIdx]; in transitionTimeInSeconds()463 transIdx -= transitionCount32; in transitionTimeInSeconds()464 return (((int64_t)((uint32_t)transitionTimesPost32[transIdx << 1])) << 32) in transitionTimeInSeconds()[all …]
686 int transIdx; in getHistoricalOffset() local687 for (transIdx = transitionCount - 1; transIdx >= 0; transIdx--) { in getHistoricalOffset()688 long transition = transitionTimes64[transIdx]; in getHistoricalOffset()690 int offsetBefore = zoneOffsetAt(transIdx - 1); in getHistoricalOffset()691 boolean dstBefore = dstOffsetAt(transIdx - 1) != 0; in getHistoricalOffset()693 int offsetAfter = zoneOffsetAt(transIdx); in getHistoricalOffset()694 boolean dstAfter = dstOffsetAt(transIdx) != 0; in getHistoricalOffset()736 offsets[0] = rawOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()737 offsets[1] = dstOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()754 private int zoneOffsetAt(int transIdx) { in zoneOffsetAt() argument[all …]
688 int transIdx; in getHistoricalOffset() local689 for (transIdx = transitionCount - 1; transIdx >= 0; transIdx--) { in getHistoricalOffset()690 long transition = transitionTimes64[transIdx]; in getHistoricalOffset()692 int offsetBefore = zoneOffsetAt(transIdx - 1); in getHistoricalOffset()693 boolean dstBefore = dstOffsetAt(transIdx - 1) != 0; in getHistoricalOffset()695 int offsetAfter = zoneOffsetAt(transIdx); in getHistoricalOffset()696 boolean dstAfter = dstOffsetAt(transIdx) != 0; in getHistoricalOffset()738 offsets[0] = rawOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()739 offsets[1] = dstOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()756 private int zoneOffsetAt(int transIdx) { in zoneOffsetAt() argument[all …]