Home
last modified time | relevance | path

Searched refs:idx_mm (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java2046 int idx_mm = offsetHM.indexOf("mm");
2047 if (idx_mm < 0) {
2051 int idx_H = offsetHM.substring(0, idx_mm).lastIndexOf("H");
2053 sep = offsetHM.substring(idx_H + 1, idx_mm);
2055 return offsetHM.substring(0, idx_mm + 2) + sep + "ss" + offsetHM.substring(idx_mm + 2);
2066 int idx_mm = offsetHM.indexOf("mm");
2067 if (idx_mm < 0) {
2070 int idx_HH = offsetHM.substring(0, idx_mm).lastIndexOf("HH");
2074 int idx_H = offsetHM.substring(0, idx_mm).lastIndexOf("H");
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java2116 int idx_mm = offsetHM.indexOf("mm");
2117 if (idx_mm < 0) {
2121 int idx_H = offsetHM.substring(0, idx_mm).lastIndexOf("H");
2123 sep = offsetHM.substring(idx_H + 1, idx_mm);
2125 return offsetHM.substring(0, idx_mm + 2) + sep + "ss" + offsetHM.substring(idx_mm + 2);
2136 int idx_mm = offsetHM.indexOf("mm");
2137 if (idx_mm < 0) {
2140 int idx_HH = offsetHM.substring(0, idx_mm).lastIndexOf("HH");
2144 int idx_H = offsetHM.substring(0, idx_mm).lastIndexOf("H");
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp2546 int32_t idx_mm = offsetHM.indexOf(DEFAULT_GMT_OFFSET_MINUTE_PATTERN, 2, 0); in expandOffsetPattern() local
2547 if (idx_mm < 0) { in expandOffsetPattern()
2554 int32_t idx_H = offsetHM.tempSubString(0, idx_mm).lastIndexOf((UChar)0x0048 /* H */); in expandOffsetPattern()
2556 sep = offsetHM.tempSubString(idx_H + 1, idx_mm - (idx_H + 1)); in expandOffsetPattern()
2558 result.setTo(offsetHM.tempSubString(0, idx_mm + 2)); in expandOffsetPattern()
2561 result.append(offsetHM.tempSubString(idx_mm + 2)); in expandOffsetPattern()
2573 int32_t idx_mm = offsetHM.indexOf(DEFAULT_GMT_OFFSET_MINUTE_PATTERN, 2, 0); in truncateOffsetPattern() local
2574 if (idx_mm < 0) { in truncateOffsetPattern()
2580 int32_t idx_HH = offsetHM.tempSubString(0, idx_mm).lastIndexOf(HH, 2, 0); in truncateOffsetPattern()
2584 int32_t idx_H = offsetHM.tempSubString(0, idx_mm).lastIndexOf((UChar)0x0048, 0); in truncateOffsetPattern()