+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
-* Copyright (c) 2004, International Business Machines
+* Copyright (c) 2004-2014, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Author: Alan Liu
* @author Alan Liu
* @internal
*/
-class U_I18N_API CurrencyFormat : public MeasureFormat {
+class CurrencyFormat : public MeasureFormat {
public:
*/
virtual ~CurrencyFormat();
- /**
- * Override Format API.
- */
- virtual UBool operator==(const Format& other) const;
-
/**
* Override Format API.
*/
virtual Format* clone() const;
+
+ using MeasureFormat::format;
+
/**
* Override Format API.
*/
FieldPosition& pos,
UErrorCode& ec) const;
- /**
- * Redeclare Format API to prevent hiding.
- */
- UnicodeString& format(const Formattable& obj,
- UnicodeString& appendTo,
- UErrorCode& ec) const;
-
/**
* Override Format API.
*/
Formattable& result,
ParsePosition& pos) const;
- /**
- * Redeclare Format API to prevent hiding.
- */
- void parseObject(const UnicodeString& source,
- Formattable& result,
- UErrorCode& ec) const;
-
/**
* Override Format API.
*/
* Returns the class ID for this class.
*/
static UClassID U_EXPORT2 getStaticClassID();
-
- private:
-
- NumberFormat* fmt;
};
U_NAMESPACE_END