Lines Matching refs:offsetHM
2541 TimeZoneFormat::expandOffsetPattern(const UnicodeString& offsetHM, UnicodeString& result, UErrorCod… in expandOffsetPattern() argument
2548 int32_t idx_mm = offsetHM.indexOf(DEFAULT_GMT_OFFSET_MINUTE_PATTERN, 2, 0); in expandOffsetPattern()
2556 int32_t idx_H = offsetHM.tempSubString(0, idx_mm).lastIndexOf((UChar)0x0048 /* H */); in expandOffsetPattern()
2558 sep = offsetHM.tempSubString(idx_H + 1, idx_mm - (idx_H + 1)); in expandOffsetPattern()
2560 result.setTo(offsetHM.tempSubString(0, idx_mm + 2)); in expandOffsetPattern()
2563 result.append(offsetHM.tempSubString(idx_mm + 2)); in expandOffsetPattern()
2568 TimeZoneFormat::truncateOffsetPattern(const UnicodeString& offsetHM, UnicodeString& result, UErrorC… in truncateOffsetPattern() argument
2575 int32_t idx_mm = offsetHM.indexOf(DEFAULT_GMT_OFFSET_MINUTE_PATTERN, 2, 0); in truncateOffsetPattern()
2582 int32_t idx_HH = offsetHM.tempSubString(0, idx_mm).lastIndexOf(HH, 2, 0); in truncateOffsetPattern()
2584 return result.setTo(offsetHM.tempSubString(0, idx_HH + 2)); in truncateOffsetPattern()
2586 int32_t idx_H = offsetHM.tempSubString(0, idx_mm).lastIndexOf((UChar)0x0048, 0); in truncateOffsetPattern()
2588 return result.setTo(offsetHM.tempSubString(0, idx_H + 1)); in truncateOffsetPattern()