Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java421 String gmtPattern = null; in TimeZoneFormat() local
429 gmtPattern = bundle.getStringWithFallback("zoneStrings/gmtFormat"); in TimeZoneFormat()
447 if (gmtPattern == null) { in TimeZoneFormat()
448 gmtPattern = DEFAULT_GMT_PATTERN; in TimeZoneFormat()
450 initGMTPattern(gmtPattern); in TimeZoneFormat()
1888 private void initGMTPattern(String gmtPattern) {
1890 int idx = gmtPattern.indexOf("{0}");
1892 throw new IllegalArgumentException("Bad localized GMT pattern: " + gmtPattern);
1894 _gmtPattern = gmtPattern;
1895 _gmtPatternPrefix = unquote(gmtPattern.substring(0, idx));
[all …]
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp342 const UChar* gmtPattern = NULL; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
352 gmtPattern = resStr; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
366 if (gmtPattern == NULL) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
367 gmtPattern = DEFAULT_GMT_PATTERN; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
369 initGMTPattern(UnicodeString(TRUE, gmtPattern, -1), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
2356 TimeZoneFormat::initGMTPattern(const UnicodeString& gmtPattern, UErrorCode& status) { in initGMTPattern() argument
2361 int32_t idx = gmtPattern.indexOf(ARG0, ARG0_LEN, 0); in initGMTPattern()
2366 fGMTPattern.setTo(gmtPattern); in initGMTPattern()
2367 unquote(gmtPattern.tempSubString(0, idx), fGMTPatternPrefix); in initGMTPattern()
2368 unquote(gmtPattern.tempSubString(idx + ARG0_LEN), fGMTPatternSuffix); in initGMTPattern()
/external/icu/icu4c/source/i18n/unicode/
Dtzfmt.h777 void initGMTPattern(const UnicodeString& gmtPattern, UErrorCode& status);