Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dolsontz.h299 int64_t transitionTimeInSeconds(int16_t transIdx) const;
300 double transitionTime(int16_t transIdx) const;
306 int32_t zoneOffsetAt(int16_t transIdx) const;
307 int32_t rawOffsetAt(int16_t transIdx) const;
308 int32_t dstOffsetAt(int16_t transIdx) const;
403 OlsonTimeZone::transitionTime(int16_t transIdx) const { in transitionTime() argument
404 return (double)transitionTimeInSeconds(transIdx) * U_MILLIS_PER_SECOND; in transitionTime()
408 OlsonTimeZone::zoneOffsetAt(int16_t transIdx) const { in zoneOffsetAt() argument
409 int16_t typeIdx = (transIdx >= 0 ? typeMapData[transIdx] : 0) << 1; in zoneOffsetAt()
414 OlsonTimeZone::rawOffsetAt(int16_t transIdx) const { in rawOffsetAt() argument
[all …]
Dolsontz.cpp448 OlsonTimeZone::transitionTimeInSeconds(int16_t transIdx) const { in transitionTimeInSeconds()
449 U_ASSERT(transIdx >= 0 && transIdx < transitionCount()); in transitionTimeInSeconds()
451 if (transIdx < transitionCountPre32) { in transitionTimeInSeconds()
452 return (((int64_t)((uint32_t)transitionTimesPre32[transIdx << 1])) << 32) in transitionTimeInSeconds()
453 | ((int64_t)((uint32_t)transitionTimesPre32[(transIdx << 1) + 1])); in transitionTimeInSeconds()
456 transIdx -= transitionCountPre32; in transitionTimeInSeconds()
457 if (transIdx < transitionCount32) { in transitionTimeInSeconds()
458 return (int64_t)transitionTimes32[transIdx]; in transitionTimeInSeconds()
461 transIdx -= transitionCount32; in transitionTimeInSeconds()
462 return (((int64_t)((uint32_t)transitionTimesPost32[transIdx << 1])) << 32) in transitionTimeInSeconds()
[all …]