Lines Matching refs:format
81 * <code>applyPattern()</code> method. The <code>format()</code>
109 * format patterns. <code>PluralFormat</code> preserves these so that you
113 * automatically evaluate the resulting format pattern.<br>
115 * in message texts to define a nested format pattern.<br>
120 * <code>format()</code> method. It will be formatted using a
139 * msgFmt->format(args1, 1, result, ignore, status);
142 * msgFmt->format(args2, 1, result, ignore, status);
153 * If you use plural format strings with <code>MessageFormat</code> and want
158 * <code>'</code> in the number format pattern. Since
168 * constructor, this locale will be used to format the number in the message
179 class U_I18N_API PluralFormat : public Format {
302 * Sets the pattern used by this plural format.
303 * The method parses the pattern and creates a map of format strings
307 * @param pattern the pattern for this plural format
316 using Format::format;
330 UnicodeString format(int32_t number, UErrorCode& status) const;
344 UnicodeString format(double number, UErrorCode& status) const;
362 UnicodeString& format(int32_t number,
383 UnicodeString& format(double number,
392 * and the NumberFormat is set to the default number format for
393 * the locale. The resulting format behaves the same as one
403 * Sets the number format used by this formatter. You only need to
404 * call this if you want a different number format than the default
406 * @param format the number format to use.
411 void setNumberFormat(const NumberFormat* format, UErrorCode& status);
428 virtual UBool operator==(const Format& other) const;
437 virtual UBool operator!=(const Format& other) const;
440 * Clones this Format object polymorphically. The caller owns the
444 virtual Format* clone(void) const;
447 * Redeclared Format method.
458 UnicodeString& format(const Formattable& obj,
483 * See Format::parseObject() for more.