Home | History | Annotate | Download | only in i18n

Lines Matching refs:pattern

136 // This is a pattern-of-last-resort used when we can't load a usable pattern out
202 SimpleDateFormat::SimpleDateFormat(const UnicodeString& pattern,
204 : fPattern(pattern),
220 SimpleDateFormat::SimpleDateFormat(const UnicodeString& pattern,
223 : fPattern(pattern),
242 SimpleDateFormat::SimpleDateFormat(const UnicodeString& pattern,
245 : fPattern(pattern),
262 SimpleDateFormat::SimpleDateFormat(const UnicodeString& pattern,
266 : fPattern(pattern),
286 SimpleDateFormat::SimpleDateFormat(const UnicodeString& pattern,
289 : fPattern(pattern),
307 SimpleDateFormat::SimpleDateFormat(const UnicodeString& pattern,
310 : fPattern(pattern),
454 // called by several constructors to load pattern data from the resources
490 // if the pattern should include both date and time information, use the date/time
491 // pattern string as a guide to tell use how to glue together the appropriate date
492 // and time pattern strings. The actual gluing-together is handled by a convenience
576 // if the pattern includes just time data or just date date, load the appropriate
577 // pattern string from the resources
764 // loop through the pattern string character by character
768 // Use subFormat() to format a repeated pattern character
769 // when a different pattern or non-pattern character is seen
786 // ch is a date-time pattern character to be interpreted
792 // Append quoted characters and unquoted non-pattern characters
797 // Format the last item in the pattern, if any
870 // Map index into pattern character string to Calendar field number.
890 // Map index into pattern character string to DateFormat field number
1171 // GMT pattern
1173 // No GMT pattern is set
1180 // No Hour pattern is set
1418 // if the pattern character is unrecognized, signal an error and bail out
1446 // text for an individual pattern symbol (e.g., "HH" or "yyyy")
1454 // if the pattern character is unrecognized, signal an error and dump out
1634 // offset from GMT) regardless of how many z's were in the pattern symbol
1685 // long form, localized GMT pattern
1713 // all of the other pattern symbols can be formatted as simple numbers with
1784 // offset into 'pattern' of the first of 2 or more abutting
1861 // the pattern "HHmmss" as an example. We will try to parse
1865 // "12345" => 1:23:45. Likewise, for the pattern "yyyyMMdd" we
1906 // Handle literal pattern characters. These are any
1928 // A run of white space in the pattern matches a run
1931 // Advance over run in pattern
1968 // will be wrong if we're parsing a 2-digit year pattern. It will be 1904.
2328 * @param ch the pattern character for the date field text to be parsed.
2329 * @param count the count of a pattern character.
2437 // If there are 3 or more YEAR pattern characters, this indicates
2484 // while pattern uses numeric style: M or MM.
2506 // while pattern uses numeric style: M or MM.
2610 // while pattern uses numeric style: Q or QQ.
2632 // while pattern uses numeric style: q or q.
2900 // run through the pattern and convert any pattern symbols from the version
2903 // an error if a particular "pattern character" doesn't appear in "from".
2960 SimpleDateFormat::applyPattern(const UnicodeString& pattern)
2962 fPattern = pattern;
2968 SimpleDateFormat::applyLocalizedPattern(const UnicodeString& pattern,
2971 translatePattern(pattern, fPattern, fSymbols->fLocalPatternChars, DateFormatSymbols::getPatternUChars(), status);
3024 SimpleDateFormat::isFieldUnitIgnored(const UnicodeString& pattern,
3033 for (int32_t i = 0; i < pattern.length(); ++i) {
3034 ch = pattern[i];
3044 if ((i+1) < pattern.length() && pattern[i+1] == QUOTE) {
3108 // check suffix will be encountered in the pattern
3140 // We may have a pattern like: \u200F \u0020
3144 // match of the run of RULE whitespace in the pattern,
3162 // Advance over run in pattern
3174 // If we skip UWhiteSpace in the input text, we need to skip it in the pattern.