Home | History | Annotate | Download | only in unicode

Lines Matching refs:pattern

56  * is guaranteed to get an appropriate formatting pattern for whatever locale the
59 * and give it an appropriate pattern (or use one of the factory methods on DateFormat
60 * and modify the pattern after the fact with toPattern() and applyPattern().
64 * The date/time format is specified by means of a string time pattern. In this
65 * pattern, all ASCII letters are reserved as pattern letters, which are defined
106 * The count of pattern letters determine the format.
120 * Any characters in the pattern that are not in the ranges of ['a'..'z'] and
125 * A pattern containing any invalid pattern letter will result in a failing
131 * Format Pattern Result
166 * marker 'a' is left out from the format pattern while the "hour in am/pm"
167 * pattern symbol is used. This information loss can happen when formatting the
171 * When parsing a date string using the abbreviated year pattern ("y" or "yy"),
175 * instance is created. For example, using a pattern of "MM/dd/yy" and a
184 * same pattern, as Jan 2, 3 AD. Likewise, "01/02/-3" is parsed as Jan 2, 4 BC.
187 * If the year pattern has more than two 'y' characters, the year is
189 * pattern "MM/dd/yyyy", "01/11/12" parses to Jan 11, 12 A.D.
210 * is handled programmatically according to the pattern.
219 * Construct a SimpleDateFormat using the default pattern for the default
230 * Construct a SimpleDateFormat using the given pattern and the default locale.
232 * names of the months), but not to provide the pattern.
236 * @param pattern the pattern for the format.
240 SimpleDateFormat(const UnicodeString& pattern,
244 * Construct a SimpleDateFormat using the given pattern, numbering system override, and the default locale.
246 * names of the months), but not to provide the pattern.
251 * date or time pattern are to be rendered using Thai digits, simply specify the numbering system override
259 * @param pattern the pattern for the format.
264 SimpleDateFormat(const UnicodeString& pattern,
269 * Construct a SimpleDateFormat using the given pattern and locale.
271 * names of the months), but not to provide the pattern.
275 * @param pattern the pattern for the format.
280 SimpleDateFormat(const UnicodeString& pattern,
285 * Construct a SimpleDateFormat using the given pattern, numbering system override, and locale.
287 * names of the months), but not to provide the pattern.
292 * date or time pattern are to be rendered using Thai digits, simply specify the numbering system override
299 * @param pattern the pattern for the format.
305 SimpleDateFormat(const UnicodeString& pattern,
311 * Construct a SimpleDateFormat using the given pattern and locale-specific
314 * @param pattern the given pattern for the format.
319 SimpleDateFormat(const UnicodeString& pattern,
324 * Construct a SimpleDateFormat using the given pattern and locale-specific
327 * @param pattern the given pattern for the format.
332 SimpleDateFormat(const UnicodeString& pattern,
620 * Return a pattern string describing this date format.
621 * @param result Output param to receive the pattern.
628 * Return a localized pattern string describing this date format.
630 * but a locale can specify characters to use in pattern descriptions
633 * language.) This function would produce a pattern using those
636 * @param result Receives the localized pattern.
638 * exit. If the pattern is invalid, this will be
647 * Apply the given unlocalized pattern string to this date format.
649 * the new pattern)
651 * @param pattern The pattern to be applied.
654 virtual void applyPattern(const UnicodeString& pattern);
657 * Apply the given localized pattern string to this date format.
660 * @param pattern The localized pattern to be applied.
662 * exit. If the pattern is invalid, this will be
666 virtual void applyLocalizedPattern(const UnicodeString& pattern,
734 * pattern, return TRUE if it is. The sequence of calendar field,
738 * covered in pattern. FALSE otherwise.
747 * pattern, return TRUE if it is. The sequence of calendar field,
749 * @param pattern the pattern to check against
752 * covered in pattern. FALSE otherwise.
755 static UBool isFieldUnitIgnored(const UnicodeString& pattern,
796 SimpleDateFormat(const Locale& locale, UErrorCode& status); // Use default pattern
809 * @param ch The format character we encountered in the pattern.
810 * @param count Number of characters in the current pattern symbol (e.g.,
811 * "yyyy" in the pattern would result in a call to this function
868 * Called by several of the constructors to load pattern data and formatting symbols
917 * Private function used by subParse to match literal pattern text.
919 * @param pattern the pattern string
920 * @param patternOffset the starting offset into the pattern text. On
921 * outupt will be set the offset of the first non-literal character in the pattern
929 static UBool matchLiterals(const UnicodeString &pattern, int32_t &patternOffset,
937 * @param ch the pattern character for the date field text to be parsed.
938 * @param count the count of a pattern character.
970 * Translate a pattern, mapping each character in the from string to the
972 * pattern contains an unmapped character, or if a quote is unmatched.
974 * @param originalPattern the original pattern.
975 * @param translatedPattern Output param to receive the translited pattern.
1000 * @param affix pattern string, taken as a literal
1053 * Used to map pattern characters to Calendar field identifiers.
1058 * Map index into pattern character string to DateFormat field number
1077 * The formatting pattern for this formatter.