Redeclarations of format/parse needed in Format hierarchy

X-Trac-URL: https://ssl.icu-project.org/trac/ticket/25



git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk@89 0a8b766c-62c9-45f9-954d-7f2943c9ead0
This commit is contained in:
Alan Liu 1999-10-21 23:15:44 +00:00
parent 9e9ebcaf3f
commit f7a73cef52

View file

@ -4,6 +4,7 @@
* COPYRIGHT: *
* (C) Copyright Taligent, Inc., 1997 *
* (C) Copyright International Business Machines Corporation, 1997-1999 *
* Copyright (C) 1999 Alan Liu and others. All rights reserved. *
* Licensed Material - Program-Property of IBM - All Rights Reserved. *
* US Government Users Restricted Rights - Use, duplication, or disclosure *
* restricted by GSA ADP Schedule Contract with IBM Corp. *
@ -273,6 +274,13 @@ public:
*/
UnicodeString& format(UDate date, UnicodeString& result) const;
/**
* Redeclared Format method.
*/
UnicodeString& format(const Formattable& obj,
UnicodeString& result,
UErrorCode& status) const;
/**
* Parse a date/time string.
*
@ -520,5 +528,12 @@ private:
static const Locale* fgLocales;
};
inline UnicodeString&
DateFormat::format(const Formattable& obj,
UnicodeString& result,
UErrorCode& status) const {
return Format::format(obj, result, status);
}
#endif // _DATEFMT
//eof