Lines Matching refs:Format
84 * <code>applyPattern()</code> method. The <code>format()</code>
126 * If you need a custom format and have a non-zero offset, then you need to pass the
135 * constructor, this locale will be used to format the number in the message
146 class U_I18N_API PluralFormat : public Format {
304 * Sets the pattern used by this plural format.
305 * The method parses the pattern and creates a map of format strings
309 * @param pattern the pattern for this plural format
318 using Format::format;
332 UnicodeString format(int32_t number, UErrorCode& status) const;
346 UnicodeString format(double number, UErrorCode& status) const;
364 UnicodeString& format(int32_t number,
385 UnicodeString& format(double number,
395 * and the NumberFormat is set to the default number format for
396 * the locale. The resulting format behaves the same as one
410 * Sets the number format used by this formatter. You only need to
411 * call this if you want a different number format than the default
413 * @param format the number format to use.
418 void setNumberFormat(const NumberFormat* format, UErrorCode& status);
435 virtual UBool operator==(const Format& other) const;
444 virtual UBool operator!=(const Format& other) const;
447 * Clones this Format object polymorphically. The caller owns the
451 virtual Format* clone(void) const;
467 UnicodeString& format(const Formattable& obj,
492 * See Format::parseObject() for more.
585 UnicodeString& format(const Formattable& numberObject, double number,