Lines Matching refs:GMTOffsetField
174 class GMTOffsetField : public UMemory { class
183 virtual ~GMTOffsetField();
185 static GMTOffsetField* createText(const UnicodeString& text, UErrorCode& status);
186 static GMTOffsetField* createTimeField(FieldType type, uint8_t width, UErrorCode& status);
199 GMTOffsetField();
202 GMTOffsetField::GMTOffsetField() in GMTOffsetField() function in GMTOffsetField
206 GMTOffsetField::~GMTOffsetField() { in ~GMTOffsetField()
212 GMTOffsetField*
213 GMTOffsetField::createText(const UnicodeString& text, UErrorCode& status) { in createText()
217 GMTOffsetField* result = new GMTOffsetField(); in createText()
237 GMTOffsetField*
238 GMTOffsetField::createTimeField(FieldType type, uint8_t width, UErrorCode& status) { in createTimeField()
243 GMTOffsetField* result = new GMTOffsetField(); in createTimeField()
256 GMTOffsetField::isValid(FieldType type, int32_t width) { in isValid()
269 GMTOffsetField::FieldType
270 GMTOffsetField::getTypeByLetter(UChar ch) { in getTypeByLetter()
281 inline GMTOffsetField::FieldType
282 GMTOffsetField::getType() const { in getType()
287 GMTOffsetField::getWidth() const { in getWidth()
292 GMTOffsetField::getPatternText(void) const { in getPatternText()
300 delete static_cast<GMTOffsetField *>(obj); in deleteGMTOffsetField()
1603 const GMTOffsetField* item = (GMTOffsetField*)offsetPatternItems->elementAt(i); in formatOffsetLocalizedGMT()
1604 GMTOffsetField::FieldType type = item->getType(); in formatOffsetLocalizedGMT()
1607 case GMTOffsetField::TEXT: in formatOffsetLocalizedGMT()
1611 case GMTOffsetField::HOUR: in formatOffsetLocalizedGMT()
1615 case GMTOffsetField::MINUTE: in formatOffsetLocalizedGMT()
1619 case GMTOffsetField::SECOND: in formatOffsetLocalizedGMT()
1854 const GMTOffsetField* field = (const GMTOffsetField*)patternItems->elementAt(i); in parseOffsetFieldsWithPattern()
1855 GMTOffsetField::FieldType fieldType = field->getType(); in parseOffsetFieldsWithPattern()
1856 if (fieldType == GMTOffsetField::TEXT) { in parseOffsetFieldsWithPattern()
1865 if (fieldType == GMTOffsetField::HOUR) { in parseOffsetFieldsWithPattern()
1868 } else if (fieldType == GMTOffsetField::MINUTE) { in parseOffsetFieldsWithPattern()
1870 } else if (fieldType == GMTOffsetField::SECOND) { in parseOffsetFieldsWithPattern()
2414 GMTOffsetField::FieldType itemType = GMTOffsetField::TEXT; in parseOffsetPattern()
2425 if (itemType != GMTOffsetField::TEXT) { in parseOffsetPattern()
2426 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2427 … GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, (uint8_t)itemLength, status); in parseOffsetPattern()
2436 itemType = GMTOffsetField::TEXT; in parseOffsetPattern()
2445 GMTOffsetField::FieldType tmpType = GMTOffsetField::getTypeByLetter(ch); in parseOffsetPattern()
2446 if (tmpType != GMTOffsetField::TEXT) { in parseOffsetPattern()
2451 if (itemType == GMTOffsetField::TEXT) { in parseOffsetPattern()
2453 GMTOffsetField* textfld = GMTOffsetField::createText(text, status); in parseOffsetPattern()
2461 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2462 … GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, itemLength, status); in parseOffsetPattern()
2478 if (itemType != GMTOffsetField::TEXT) { in parseOffsetPattern()
2479 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2480 … GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, itemLength, status); in parseOffsetPattern()
2489 itemType = GMTOffsetField::TEXT; in parseOffsetPattern()
2498 if (itemType == GMTOffsetField::TEXT) { in parseOffsetPattern()
2500 GMTOffsetField* tfld = GMTOffsetField::createText(text, status); in parseOffsetPattern()
2504 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2505 GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, itemLength, status); in parseOffsetPattern()
2517 reqBits = GMTOffsetField::HOUR; in parseOffsetPattern()
2520 reqBits = GMTOffsetField::HOUR | GMTOffsetField::MINUTE; in parseOffsetPattern()
2523 reqBits = GMTOffsetField::HOUR | GMTOffsetField::MINUTE | GMTOffsetField::SECOND; in parseOffsetPattern()
2621 const GMTOffsetField* item = (GMTOffsetField*)items->elementAt(i); in checkAbuttingHoursAndMinutes()
2622 GMTOffsetField::FieldType type = item->getType(); in checkAbuttingHoursAndMinutes()
2623 if (type != GMTOffsetField::TEXT) { in checkAbuttingHoursAndMinutes()
2627 } else if (type == GMTOffsetField::HOUR) { in checkAbuttingHoursAndMinutes()