Lines Matching refs:pattern
105 // Order of GMT offset pattern parsing, *_HMS must be evaluated first
177 // This class represents a localized GMT offset pattern
553 TimeZoneFormat::getGMTPattern(UnicodeString& pattern) const {
554 return pattern.setTo(fGMTPattern);
558 TimeZoneFormat::setGMTPattern(const UnicodeString& pattern, UErrorCode& status) {
559 initGMTPattern(pattern, status);
563 TimeZoneFormat::getGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, UnicodeString& pattern) const {
564 return pattern.setTo(fGMTOffsetPatterns[type]);
568 TimeZoneFormat::setGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, const UnicodeString& pattern, UErrorCode& status) {
572 if (pattern == fGMTOffsetPatterns[type]) {
596 UVector* patternItems = parseOffsetPattern(pattern, required, status);
601 fGMTOffsetPatterns[type].setTo(pattern);
1869 // leading space characters might be truncated. If the first pattern text
2032 // try the default pattern with the separator first
2040 // try abutting field pattern
2401 TimeZoneFormat::unquote(const UnicodeString& pattern, UnicodeString& result) {
2402 if (pattern.indexOf(SINGLEQUOTE) < 0) {
2403 result.setTo(pattern);
2409 for (int32_t i = 0; i < pattern.length(); i++) {
2410 UChar c = pattern.charAt(i);
2428 pattern, OffsetFields required, UErrorCode& status) {
2446 for (int32_t i = 0; i < pattern.length(); i++) {
2447 UChar ch = pattern.charAt(i);
2476 // an offset time pattern character
2577 // Bad time zone hour pattern data
2604 // Bad time zone hour pattern data
2617 // Bad time zone hour pattern data