Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java2116 private static String expandOffsetPattern(String offsetHM) {
2117 int idx_mm = offsetHM.indexOf("mm");
2122 int idx_H = offsetHM.substring(0, idx_mm).lastIndexOf("H");
2124 sep = offsetHM.substring(idx_H + 1, idx_mm);
2126 return offsetHM.substring(0, idx_mm + 2) + sep + "ss" + offsetHM.substring(idx_mm + 2);
2136 private static String truncateOffsetPattern(String offsetHM) {
2137 int idx_mm = offsetHM.indexOf("mm");
2141 int idx_HH = offsetHM.substring(0, idx_mm).lastIndexOf("HH");
2143 return offsetHM.substring(0, idx_HH + 2);
2145 int idx_H = offsetHM.substring(0, idx_mm).lastIndexOf("H");
[all …]
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp2539 TimeZoneFormat::expandOffsetPattern(const UnicodeString& offsetHM, UnicodeString& result, UErrorCod… in expandOffsetPattern() argument
2546 int32_t idx_mm = offsetHM.indexOf(DEFAULT_GMT_OFFSET_MINUTE_PATTERN, 2, 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()
2566 TimeZoneFormat::truncateOffsetPattern(const UnicodeString& offsetHM, UnicodeString& result, UErrorC… in truncateOffsetPattern() argument
2573 int32_t idx_mm = offsetHM.indexOf(DEFAULT_GMT_OFFSET_MINUTE_PATTERN, 2, 0); in truncateOffsetPattern()
2580 int32_t idx_HH = offsetHM.tempSubString(0, idx_mm).lastIndexOf(HH, 2, 0); in truncateOffsetPattern()
2582 return result.setTo(offsetHM.tempSubString(0, idx_HH + 2)); in truncateOffsetPattern()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dtzfmt.h797 …static UnicodeString& expandOffsetPattern(const UnicodeString& offsetHM, UnicodeString& result, UE…
807 …static UnicodeString& truncateOffsetPattern(const UnicodeString& offsetHM, UnicodeString& result, …
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...