- /**
- * Formats an object using this object's choices.
- *
- *
- * @param obj The object to be formatted.
- * @param appendTo Output parameter to receive result.
- * Result is appended to existing contents.
- * @param pos On input: an alignment field, if desired.
- * On output: the offsets of the alignment field.
- * @param status Output param set to success/failure code on
- * exit.
- * @return Reference to 'appendTo' parameter.
- * @deprecated ICU 49 Use MessageFormat instead, with plural and select arguments.
- */
- virtual UnicodeString& format(const Formattable& obj,
- UnicodeString& appendTo,
- FieldPosition& pos,
- UErrorCode& status) const;
-
- /**
- * Redeclared NumberFormat method.
- *
- * @param obj The object to be formatted.
- * @param appendTo Output parameter to receive result.
- * Result is appended to existing contents.
- * @param status Output param set to success/failure code on
- * exit.
- * @return Reference to 'appendTo' parameter.
- * @deprecated ICU 49 Use MessageFormat instead, with plural and select arguments.
- */
- UnicodeString& format(const Formattable& obj,
- UnicodeString& appendTo,
- UErrorCode& status) const;
-
- /**
- * Redeclared NumberFormat method.
- * Formats a double number. These methods call the NumberFormat
- * pure virtual format() methods with the default FieldPosition.
- *
- * @param number The value to be formatted.
- * @param appendTo Output parameter to receive result.
- * Result is appended to existing contents.
- * @return Reference to 'appendTo' parameter.
- * @deprecated ICU 49 Use MessageFormat instead, with plural and select arguments.
- */
- UnicodeString& format( double number,
- UnicodeString& appendTo) const;