Home | History | Annotate | Download | only in unicode

Lines Matching refs:format

15  * \brief C++ API: Format and parse duration in single time unit
51 * Format or parse a TimeUnitAmount, using plural rules for the units where available.
59 * // create time unit format instance
60 * TimeUnitFormat* format = new TimeUnitFormat(Locale("en"), status);
61 * // format a time unit amount
66 * formatted = ((Format*)format)->format(formattable, formatted, status);
68 * ((Format*)format)->parseObject(formatted, result, status);
115 * Clone this Format object polymorphically. The caller owns the result and
120 virtual Format* clone(void) const;
130 * Return true if the given Format objects are semantically equal. Objects
133 * @return true if the given Format objects are semantically equal.
136 virtual UBool operator==(const Format& other) const;
139 * Return true if the given Format objects are not semantically equal.
142 * @return true if the given Format objects are not semantically equal.
145 UBool operator!=(const Format& other) const;
157 * Set the number format used for formatting or parsing.
158 * @param format the number formatter to be set
162 void setNumberFormat(const NumberFormat& format, UErrorCode& status);
165 using MeasureFormat::format;
168 * Format a TimeUnitAmount.
172 * @see Format#format(const Formattable&, UnicodeString&, FieldPosition&, UErrorCode&) const
175 virtual UnicodeString& format(const Formattable& obj,
182 * @see Format#parseObject(const UnicodeString&, Formattable&, ParsePosition&) const;
260 TimeUnitFormat::operator!=(const Format& other) const {