-inline UnicodeString&
-RuleBasedNumberFormat::format(const Formattable& obj,
- UnicodeString& result,
- UErrorCode& status) const
-{
- // Don't use Format:: - use immediate base class only,
- // in case immediate base modifies behavior later.
- // dlf - the above comment is bogus, if there were a reason to modify
- // it, it would be virtual, and there's no reason because it is
- // a one-line macro in NumberFormat anyway, just like this one.
- return NumberFormat::format(obj, result, status);
-}
-
-inline UnicodeString&
-RuleBasedNumberFormat::format(double number, UnicodeString& output) const {
- FieldPosition pos(0);
- return format(number, output, pos);
-}
-
-inline UnicodeString&
-RuleBasedNumberFormat::format(int32_t number, UnicodeString& output) const {
- FieldPosition pos(0);
- return format(number, output, pos);
-}
-
-inline void
-RuleBasedNumberFormat::parse(const UnicodeString& text, Formattable& result, UErrorCode& status) const
-{
- NumberFormat::parse(text, result, status);
-}
-