Lines Matching refs:GMTOffsetField
180 class GMTOffsetField : public UMemory { class
189 virtual ~GMTOffsetField();
191 static GMTOffsetField* createText(const UnicodeString& text, UErrorCode& status);
192 static GMTOffsetField* createTimeField(FieldType type, uint8_t width, UErrorCode& status);
205 GMTOffsetField();
208 GMTOffsetField::GMTOffsetField() in GMTOffsetField() function in GMTOffsetField
212 GMTOffsetField::~GMTOffsetField() { in ~GMTOffsetField()
218 GMTOffsetField*
219 GMTOffsetField::createText(const UnicodeString& text, UErrorCode& status) { in createText()
223 GMTOffsetField* result = new GMTOffsetField(); in createText()
243 GMTOffsetField*
244 GMTOffsetField::createTimeField(FieldType type, uint8_t width, UErrorCode& status) { in createTimeField()
249 GMTOffsetField* result = new GMTOffsetField(); in createTimeField()
262 GMTOffsetField::isValid(FieldType type, int32_t width) { in isValid()
275 GMTOffsetField::FieldType
276 GMTOffsetField::getTypeByLetter(UChar ch) { in getTypeByLetter()
287 inline GMTOffsetField::FieldType
288 GMTOffsetField::getType() const { in getType()
293 GMTOffsetField::getWidth() const { in getWidth()
298 GMTOffsetField::getPatternText(void) const { in getPatternText()
306 delete static_cast<GMTOffsetField *>(obj); in deleteGMTOffsetField()
1609 const GMTOffsetField* item = (GMTOffsetField*)offsetPatternItems->elementAt(i); in formatOffsetLocalizedGMT()
1610 GMTOffsetField::FieldType type = item->getType(); in formatOffsetLocalizedGMT()
1613 case GMTOffsetField::TEXT: in formatOffsetLocalizedGMT()
1617 case GMTOffsetField::HOUR: in formatOffsetLocalizedGMT()
1621 case GMTOffsetField::MINUTE: in formatOffsetLocalizedGMT()
1625 case GMTOffsetField::SECOND: in formatOffsetLocalizedGMT()
1862 const GMTOffsetField* field = (const GMTOffsetField*)patternItems->elementAt(i); in parseOffsetFieldsWithPattern()
1863 GMTOffsetField::FieldType fieldType = field->getType(); in parseOffsetFieldsWithPattern()
1864 if (fieldType == GMTOffsetField::TEXT) { in parseOffsetFieldsWithPattern()
1894 if (fieldType == GMTOffsetField::HOUR) { in parseOffsetFieldsWithPattern()
1897 } else if (fieldType == GMTOffsetField::MINUTE) { in parseOffsetFieldsWithPattern()
1899 } else if (fieldType == GMTOffsetField::SECOND) { in parseOffsetFieldsWithPattern()
2443 GMTOffsetField::FieldType itemType = GMTOffsetField::TEXT; in parseOffsetPattern()
2454 if (itemType != GMTOffsetField::TEXT) { in parseOffsetPattern()
2455 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2456 …GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, static_cast<uint8_t>(itemLength), … in parseOffsetPattern()
2465 itemType = GMTOffsetField::TEXT; in parseOffsetPattern()
2474 GMTOffsetField::FieldType tmpType = GMTOffsetField::getTypeByLetter(ch); in parseOffsetPattern()
2475 if (tmpType != GMTOffsetField::TEXT) { in parseOffsetPattern()
2480 if (itemType == GMTOffsetField::TEXT) { in parseOffsetPattern()
2482 GMTOffsetField* textfld = GMTOffsetField::createText(text, status); in parseOffsetPattern()
2490 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2491 …GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, static_cast<uint8_t>(itemLength), … in parseOffsetPattern()
2507 if (itemType != GMTOffsetField::TEXT) { in parseOffsetPattern()
2508 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2509 …GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, static_cast<uint8_t>(itemLength), … in parseOffsetPattern()
2518 itemType = GMTOffsetField::TEXT; in parseOffsetPattern()
2527 if (itemType == GMTOffsetField::TEXT) { in parseOffsetPattern()
2529 GMTOffsetField* tfld = GMTOffsetField::createText(text, status); in parseOffsetPattern()
2533 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2534 …GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, static_cast<uint8_t>(itemLength), … in parseOffsetPattern()
2546 reqBits = GMTOffsetField::HOUR; in parseOffsetPattern()
2549 reqBits = GMTOffsetField::HOUR | GMTOffsetField::MINUTE; in parseOffsetPattern()
2552 reqBits = GMTOffsetField::HOUR | GMTOffsetField::MINUTE | GMTOffsetField::SECOND; in parseOffsetPattern()
2650 const GMTOffsetField* item = (GMTOffsetField*)items->elementAt(i); in checkAbuttingHoursAndMinutes()
2651 GMTOffsetField::FieldType fieldType = item->getType(); in checkAbuttingHoursAndMinutes()
2652 if (fieldType != GMTOffsetField::TEXT) { in checkAbuttingHoursAndMinutes()
2656 } else if (fieldType == GMTOffsetField::HOUR) { in checkAbuttingHoursAndMinutes()