Home | History | Annotate | Download | only in unicode

Lines Matching refs:Format

79  * <code>applyPattern()</code> method. The <code>format()</code>
106 * format patterns. <code>PluralFormat</code> preserves these so that you
110 * automatically evaluate the resulting format pattern.<br/>
112 * in message texts to define a nested format pattern.<br/>
117 * <code>format()</code> method. It will be formatted using a
135 * msgFmt->format(args1, 1, result, ignore, status);
138 * msgFmt->format(args2, 1, result, ignore, status);
148 * If you use plural format strings with <code>MessageFormat</code> and want
153 * "<code>'</code>" in the number format pattern. Since
163 * constructor, this locale will be used to format the number in the message
174 class U_I18N_API PluralFormat : public Format {
297 * Sets the pattern used by this plural format.
298 * The method parses the pattern and creates a map of format strings
302 * @param pattern the pattern for this plural format
322 UnicodeString format(int32_t number, UErrorCode& status) const;
336 UnicodeString format(double number, UErrorCode& status) const;
354 UnicodeString& format(int32_t number,
375 UnicodeString& format(double number,
384 * and the NumberFormat is set to the default number format for
385 * the locale. The resulting format behaves the same as one
395 * Sets the number format used by this formatter. You only need to
396 * call this if you want a different number format than the default
398 * @param format the number format to use.
403 void setNumberFormat(const NumberFormat* format, UErrorCode& status);
420 virtual UBool operator==(const Format& other) const;
429 virtual UBool operator!=(const Format& other) const;
432 * Clones this Format object polymorphically. The caller owns the
436 virtual Format* clone(void) const;
439 * Redeclared Format method.
450 UnicodeString& format(const Formattable& obj,
475 * See Format::parseObject() for more.