Logo Search packages:      
Sourcecode: icu version File versions

Format * DecimalFormat::clone ( void   ) const [virtual]

Clone this Format object polymorphically. The caller owns the result and should delete it when done.

Returns:
a polymorphic copy of this DecimalFormat. ICU 2.0

Implements Format.

Definition at line 915 of file decimfmt.cpp.

Referenced by IntlTestDecimalFormatAPI::testAPI(), and unum_clone().

{
    return new DecimalFormat(*this);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index