Home | History | Annotate | Download | only in unicode

Lines Matching refs:pattern

64      * This style is equivalent to the LDML date format pattern "O".
71 * This style is equivalent to the LDML date format pattern "X".
78 * This style is equivalent to the LDML date format pattern "x".
85 * This style is equivalent to the LDML date format pattern "XX".
92 * This style is equivalent to the LDML date format pattern "xx".
99 * This style is equivalent to the LDML date format pattern "XXXX".
106 * This style is equivalent to the LDML date format pattern "xxxx".
113 * This style is equivalent to the LDML date format pattern "XXX".
120 * This style is equivalent to the LDML date format pattern "xxx" and "ZZZZZ".
127 * This style is equivalent to the LDML date format pattern "XXXXX".
134 * This style is equivalent to the LDML date format pattern "xxxxx".
156 * Constants for GMT offset pattern types.
344 * Returns the localized GMT format pattern.
345 * @param pattern Receives the localized GMT format pattern.
346 * @return A reference to the result pattern.
350 UnicodeString& getGMTPattern(UnicodeString& pattern) const;
353 * Sets the localized GMT format pattern. The pattern must contain
355 * @param pattern The localized GMT format pattern to be used by this object.
360 void setGMTPattern(const UnicodeString& pattern, UErrorCode& status);
363 * Returns the offset pattern used for localized GMT format.
364 * @param type The offset pattern type enum.
365 * @param pattern Receives the offset pattern.
366 * @return A reference to the result pattern.
370 UnicodeString& getGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, UnicodeString& pattern) const;
373 * Sets the offset pattern for the given offset type.
374 * @param type The offset pattern type enum.
375 * @param pattern The offset pattern used for localized GMT format for the type.
380 void setGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, const UnicodeString& pattern, UErrorCode& status);
484 * <li>GMT format pattern (e.g. "GMT {0}" - see {@link #getGMTPattern})
485 * <li>Offset time pattern (e.g. "+HH:mm" - see {@link #getGMTOffsetPattern})
505 * <li>GMT format pattern (e.g. "GMT {0}" - see {@link #getGMTPattern})
506 * <li>Offset time pattern (e.g. "+HH:mm" - see {@link #getGMTOffsetPattern})
687 /* Localized GMT format pattern - e.g. "GMT{0}" */
702 /* Constant parts of GMT format pattern, populated from localized GMT format pattern*/
770 * Parses the localized GMT pattern string and initialize
771 * localized gmt pattern fields.
772 * @param gmtPattern the localized GMT pattern string such as "GMT {0}"
773 * @param status U_ILLEGAL_ARGUMENT_ERROR is set when the specified pattern does not
779 * Parse the GMT offset pattern into runtime optimized format.
780 * @param pattern the offset pattern string
782 * @param status U_ILLEGAL_ARGUMENT is set when the specified pattern does not contain
783 * pattern letters for the required fields.
786 static UVector* parseOffsetPattern(const UnicodeString& pattern, OffsetFields required, UErrorCode& status);
789 * Appends seconds field to the offset pattern with hour/minute
790 * Note: This code will be obsoleted once we add hour-minute-second pattern data in CLDR.
791 * @param offsetHM the offset pattern including hours and minutes fields
792 * @param result the output offset pattern including hour, minute and seconds fields
799 * Truncates minutes field to the offset pattern with hour/minute
800 * Note: This code will be obsoleted once we add hour pattern data in CLDR.
801 * @param offsetHM the offset pattern including hours and minutes fields
802 * @param result the output offset pattern including only hours field
906 * Parse localized GMT offset fields with the given pattern.
909 * @param pattenItems the pattern (already itemized)
938 * Parses the input GMT offset fields with the default offset pattern.
1019 * Unquotes the message format style pattern.
1020 * @param pattern the pattern
1021 * @param result receive the unquoted pattern.
1024 static UnicodeString& unquote(const UnicodeString& pattern, UnicodeString& result);
1037 * after all patterns are parsed into pattern items.