mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 22:15:31 +00:00
[ICU-25] Redeclarations of format/parse needed in Format hierarchy
X-Commit-URL: https://ssl.icu-project.org/trac/changeset/89
This commit is contained in:
parent
9d7c846121
commit
92e266279c
1 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue