Home | History | Annotate | Download | only in unicode

Lines Matching defs:Format

9 * File FORMAT.H
20 // This file was generated from the java source file Format.java
58 * Many of the concrete subclasses of Format employ the notion of
62 * "$#,##0.00;($#,##0.00)", which is a common US English format for
68 * is not inherent to Format classes in general, and is not part of
73 * NumberFormat which allows the user to format different number ranges
76 * MessageFormat is a formatter which utilizes other Format objects to
77 * format a string containing with multiple values. For instance,
84 * the Format cannot format the type of object, otherwise if there is
96 class U_I18N_API Format : public UObject {
102 virtual ~Format();
105 * Return true if the given Format objects are semantically equal.
108 * @return Return true if the given Format objects are semantically equal.
112 virtual UBool operator==(const Format& other) const = 0;
115 * Return true if the given Format objects are not semantically
118 * @return Return true if the given Format objects are not semantically.
121 UBool operator!=(const Format& other) const { return !operator==(other); }
129 virtual Format* clone() const = 0;
134 * @param obj The object to format.
141 UnicodeString& format(const Formattable& obj,
146 * Format an object to produce a string. This is a pure virtual method which
148 * of Formattable objects. If a subclass of Format receives a Formattable
152 * @param obj The object to format.
161 virtual UnicodeString& format(const Formattable& obj,
166 * Format an object to produce a string. Subclasses should override this
168 * If a subclass of Format receives a Formattable object type it doesn't
172 * @param obj The object to format.
176 * of fields generated by this format call.
181 virtual UnicodeString& format(const Formattable& obj,
212 * to an error value when no text in the required format is at the
245 /** Get the locale for this format object. You can choose between valid and actual locale.
254 /** Get the locale for this format object. You can choose between valid and actual locale.
272 Format();
277 Format(const Format&); // Does nothing; for subclasses only
282 Format& operator=(const Format&); // Does nothing; for subclasses