Lines Matching defs:Format
7 * File FORMAT.H
18 // This file was generated from the java source file Format.java
56 * Many of the concrete subclasses of Format employ the notion of
60 * "$#,##0.00;($#,##0.00)", which is a common US English format for
66 * is not inherent to Format classes in general, and is not part of
71 * NumberFormat which allows the user to format different number ranges
74 * MessageFormat is a formatter which utilizes other Format objects to
75 * format a string containing with multiple values. For instance,
82 * the Format cannot format the type of object, otherwise if there is
94 class U_I18N_API Format : public UObject {
100 virtual ~Format();
103 * Return true if the given Format objects are semantically equal.
106 * @return Return true if the given Format objects are semantically equal.
110 virtual UBool operator==(const Format& other) const = 0;
113 * Return true if the given Format objects are not semantically
116 * @return Return true if the given Format objects are not semantically.
119 UBool operator!=(const Format& other) const { return !operator==(other); }
127 virtual Format* clone() const = 0;
132 * @param obj The object to format.
139 UnicodeString& format(const Formattable& obj,
144 * Format an object to produce a string. This is a pure virtual method which
146 * of Formattable objects. If a subclass of Format receives a Formattable
150 * @param obj The object to format.
159 virtual UnicodeString& format(const Formattable& obj,
164 * Format an object to produce a string. Subclasses should override this
166 * If a subclass of Format receives a Formattable object type it doesn't
170 * @param obj The object to format.
174 * of fields generated by this format call.
179 virtual UnicodeString& format(const Formattable& obj,
210 * to an error value when no text in the required format is at the
243 /** Get the locale for this format object. You can choose between valid and actual locale.
251 /** Get the locale for this format object. You can choose between valid and actual locale.
268 Format();
273 Format(const Format&); // Does nothing; for subclasses only
278 Format& operator=(const Format&); // Does nothing; for subclasses