Lines Matching refs:pattern
51 * specified at once in a <EM>pattern</EM>. By using different
92 * {@link #format(const UnicodeString& pattern,const Formattable* arguments,int32_t cnt,UnicodeString& appendTo,UErrorCode& success)},
111 * <LI>If one of the arguments does not occur in the pattern, it
119 * some part of the parse is ambiguous. For example, if the pattern
124 * then the rightmost subformat in the pattern string will produce the
174 * The pattern is of the following form. Legend:
225 * rule set is used. For a ChoiceFormat or PluralFormat or SelectFormat, the pattern
235 * If a pattern is used, then unquoted braces in the pattern, if any,
308 * Constructs a new MessageFormat using the given pattern and the
311 * @param pattern Pattern used to construct object.
313 * pattern cannot be parsed, set to failure code.
316 MessageFormat(const UnicodeString& pattern,
320 * Constructs a new MessageFormat using the given pattern and locale.
321 * @param pattern Pattern used to construct object.
324 * pattern cannot be parsed, set to failure code.
327 MessageFormat(const UnicodeString& pattern,
331 * Constructs a new MessageFormat using the given pattern and locale.
332 * @param pattern Pattern used to construct object.
335 * of error within the pattern.
337 * pattern cannot be parsed, set to failure code.
340 MessageFormat(const UnicodeString& pattern,
395 * Applies the given pattern string to this message format.
397 * @param pattern The pattern to be applied.
399 * pattern cannot be parsed, set to failure code.
402 virtual void applyPattern(const UnicodeString& pattern,
405 * Applies the given pattern string to this message format.
407 * @param pattern The pattern to be applied.
409 * of error within pattern.
411 * pattern cannot be parsed, set to failure code.
414 virtual void applyPattern(const UnicodeString& pattern,
419 * Returns a pattern that can be used to recreate this object.
421 * @param appendTo Output parameter to receive the pattern.
576 * pattern cannot be parsed, set to failure code.
588 * using the given pattern.
593 * @param pattern The pattern.
599 * pattern cannot be parsed, set to failure code.
603 static UnicodeString& format(const UnicodeString& pattern,
625 * pattern cannot be parsed, set to failure code.
644 * pattern cannot be parsed, set to failure code.
667 * pattern cannot be parsed, set to failure code.
702 * pattern cannot be parsed, set to failure code.
729 * Convert an 'apostrophe-friendly' pattern into a standard
730 * pattern. Standard patterns treat all apostrophes as
735 * and the resulting standard pattern string is returned.
737 * <p><b>Note</b> it is not guaranteed that the returned pattern
738 * is indeed a valid pattern. The only effect is to convert
741 * @param pattern the 'apostrophe-friendly' patttern to convert
742 * @param status Input/output error code. If the pattern
744 * @return the standard equivalent of the original pattern
747 static UnicodeString autoQuoteApostrophe(const UnicodeString& pattern,
764 * Returns argument types count in the parsed pattern.
765 * Used to distinguish pattern "{0} d" and "d".
767 * @return The number of formattable types in the pattern
812 * pattern text fPattern, and an argument number. The argument
828 * has an expected type, based on the pattern. For example, if
829 * the pattern contains the subformat "{3,number,integer}", then
927 * Returns array of argument types in the parsed pattern
931 * @return The array of formattable types in the pattern