Home | History | Annotate | Download | only in unicode

Lines Matching refs:pattern

55  * is guaranteed to get an appropriate formatting pattern for whatever locale the
58 * and give it an appropriate pattern (or use one of the factory methods on DateFormat
59 * and modify the pattern after the fact with toPattern() and applyPattern().
63 * The date/time format is specified by means of a string time pattern. In this
64 * pattern, all ASCII letters are reserved as pattern letters, which are defined
105 * The count of pattern letters determine the format.
119 * Any characters in the pattern that are not in the ranges of ['a'..'z'] and
124 * A pattern containing any invalid pattern letter will result in a failing
130 * Format Pattern Result
165 * marker 'a' is left out from the format pattern while the "hour in am/pm"
166 * pattern symbol is used. This information loss can happen when formatting the
170 * When parsing a date string using the abbreviated year pattern ("y" or "yy"),
174 * instance is created. For example, using a pattern of "MM/dd/yy" and a
183 * same pattern, as Jan 2, 3 AD. Likewise, "01/02/-3" is parsed as Jan 2, 4 BC.
186 * If the year pattern has more than two 'y' characters, the year is
188 * pattern "MM/dd/yyyy", "01/11/12" parses to Jan 11, 12 A.D.
209 * is handled programmatically according to the pattern.
218 * Construct a SimpleDateFormat using the default pattern for the default
229 * Construct a SimpleDateFormat using the given pattern and the default locale.
231 * names of the months), but not to provide the pattern.
235 * @param pattern the pattern for the format.
239 SimpleDateFormat(const UnicodeString& pattern,
243 * Construct a SimpleDateFormat using the given pattern, numbering system override, and the default locale.
245 * names of the months), but not to provide the pattern.
250 * date or time pattern are to be rendered using Thai digits, simply specify the numbering system override
258 * @param pattern the pattern for the format.
263 SimpleDateFormat(const UnicodeString& pattern,
268 * Construct a SimpleDateFormat using the given pattern and locale.
270 * names of the months), but not to provide the pattern.
274 * @param pattern the pattern for the format.
279 SimpleDateFormat(const UnicodeString& pattern,
284 * Construct a SimpleDateFormat using the given pattern, numbering system override, and locale.
286 * names of the months), but not to provide the pattern.
291 * date or time pattern are to be rendered using Thai digits, simply specify the numbering system override
298 * @param pattern the pattern for the format.
304 SimpleDateFormat(const UnicodeString& pattern,
310 * Construct a SimpleDateFormat using the given pattern and locale-specific
313 * @param pattern the given pattern for the format.
318 SimpleDateFormat(const UnicodeString& pattern,
323 * Construct a SimpleDateFormat using the given pattern and locale-specific
326 * @param pattern the given pattern for the format.
331 SimpleDateFormat(const UnicodeString& pattern,
619 * Return a pattern string describing this date format.
620 * @param result Output param to receive the pattern.
627 * Return a localized pattern string describing this date format.
629 * but a locale can specify characters to use in pattern descriptions
632 * language.) This function would produce a pattern using those
635 * @param result Receives the localized pattern.
637 * exit. If the pattern is invalid, this will be
646 * Apply the given unlocalized pattern string to this date format.
648 * the new pattern)
650 * @param pattern The pattern to be applied.
653 virtual void applyPattern(const UnicodeString& pattern);
656 * Apply the given localized pattern string to this date format.
659 * @param pattern The localized pattern to be applied.
661 * exit. If the pattern is invalid, this will be
665 virtual void applyLocalizedPattern(const UnicodeString& pattern,
733 * pattern, return TRUE if it is. The sequence of calendar field,
737 * covered in pattern. FALSE otherwise.
746 * pattern, return TRUE if it is. The sequence of calendar field,
748 * @param pattern the pattern to check against
751 * covered in pattern. FALSE otherwise.
754 static UBool isFieldUnitIgnored(const UnicodeString& pattern,
795 SimpleDateFormat(const Locale& locale, UErrorCode& status); // Use default pattern
808 * @param ch The format character we encountered in the pattern.
809 * @param count Number of characters in the current pattern symbol (e.g.,
810 * "yyyy" in the pattern would result in a call to this function
865 * Called by several of the constructors to load pattern data and formatting symbols
918 * @param ch the pattern character for the date field text to be parsed.
919 * @param count the count of a pattern character.
949 * Translate a pattern, mapping each character in the from string to the
951 * pattern contains an unmapped character, or if a quote is unmatched.
953 * @param originalPattern the original pattern.
954 * @param translatedPattern Output param to receive the translited pattern.
979 * @param affix pattern string, taken as a literal
1032 * Used to map pattern characters to Calendar field identifiers.
1037 * Map index into pattern character string to DateFormat field number
1051 * The formatting pattern for this formatter.