Lines Matching refs:pattern
53 * is guaranteed to get an appropriate formatting pattern for whatever locale the
56 * and give it an appropriate pattern (or use one of the factory methods on DateFormat
57 * and modify the pattern after the fact with toPattern() and applyPattern().
61 * The date/time format is specified by means of a string time pattern. In this
62 * pattern, all ASCII letters are reserved as pattern letters, which are defined
103 * The count of pattern letters determine the format.
117 * Any characters in the pattern that are not in the ranges of ['a'..'z'] and
122 * A pattern containing any invalid pattern letter will result in a failing
128 * Format Pattern Result
163 * marker 'a' is left out from the format pattern while the "hour in am/pm"
164 * pattern symbol is used. This information loss can happen when formatting the
168 * When parsing a date string using the abbreviated year pattern ("y" or "yy"),
172 * instance is created. For example, using a pattern of "MM/dd/yy" and a
181 * same pattern, as Jan 2, 3 AD. Likewise, "01/02/-3" is parsed as Jan 2, 4 BC.
184 * If the year pattern has more than two 'y' characters, the year is
186 * pattern "MM/dd/yyyy", "01/11/12" parses to Jan 11, 12 A.D.
207 * is handled programmatically according to the pattern.
216 * Construct a SimpleDateFormat using the default pattern for the default
227 * Construct a SimpleDateFormat using the given pattern and the default locale.
229 * names of the months), but not to provide the pattern.
233 * @param pattern the pattern for the format.
237 SimpleDateFormat(const UnicodeString& pattern,
241 * Construct a SimpleDateFormat using the given pattern, numbering system override, and the default locale.
243 * names of the months), but not to provide the pattern.
248 * date or time pattern are to be rendered using Thai digits, simply specify the numbering system override
256 * @param pattern the pattern for the format.
261 SimpleDateFormat(const UnicodeString& pattern,
266 * Construct a SimpleDateFormat using the given pattern and locale.
268 * names of the months), but not to provide the pattern.
272 * @param pattern the pattern for the format.
277 SimpleDateFormat(const UnicodeString& pattern,
282 * Construct a SimpleDateFormat using the given pattern, numbering system override, and locale.
284 * names of the months), but not to provide the pattern.
289 * date or time pattern are to be rendered using Thai digits, simply specify the numbering system override
296 * @param pattern the pattern for the format.
302 SimpleDateFormat(const UnicodeString& pattern,
308 * Construct a SimpleDateFormat using the given pattern and locale-specific
311 * @param pattern the given pattern for the format.
316 SimpleDateFormat(const UnicodeString& pattern,
321 * Construct a SimpleDateFormat using the given pattern and locale-specific
324 * @param pattern the given pattern for the format.
329 SimpleDateFormat(const UnicodeString& pattern,
549 * Return a pattern string describing this date format.
550 * @param result Output param to receive the pattern.
557 * Return a localized pattern string describing this date format.
559 * but a locale can specify characters to use in pattern descriptions
562 * language.) This function would produce a pattern using those
565 * @param result Receives the localized pattern.
567 * exit. If the pattern is invalid, this will be
576 * Apply the given unlocalized pattern string to this date format.
578 * the new pattern)
580 * @param pattern The pattern to be applied.
583 virtual void applyPattern(const UnicodeString& pattern);
586 * Apply the given localized pattern string to this date format.
589 * @param pattern The localized pattern to be applied.
591 * exit. If the pattern is invalid, this will be
595 virtual void applyLocalizedPattern(const UnicodeString& pattern,
663 * pattern, return TRUE if it is. The sequence of calendar field,
667 * covered in pattern. FALSE otherwise.
676 * pattern, return TRUE if it is. The sequence of calendar field,
678 * @param pattern the pattern to check against
681 * covered in pattern. FALSE otherwise.
684 static UBool isFieldUnitIgnored(const UnicodeString& pattern,
725 SimpleDateFormat(const Locale& locale, UErrorCode& status); // Use default pattern
732 * @param ch The format character we encountered in the pattern.
733 * @param count Number of characters in the current pattern symbol (e.g.,
734 * "yyyy" in the pattern would result in a call to this function
792 * Called by several of the constructors to load pattern data and formatting symbols
845 * @param ch the pattern character for the date field text to be parsed.
846 * @param count the count of a pattern character.
875 * Translate a pattern, mapping each character in the from string to the
877 * pattern contains an unmapped character, or if a quote is unmatched.
879 * @param originalPattern the original pattern.
880 * @param translatedPattern Output param to receive the translited pattern.
905 * @param affix pattern string, taken as a literal
959 * Used to map pattern characters to Calendar field identifiers.
964 * Map index into pattern character string to DateFormat field number
978 * The formatting pattern for this formatter.