Logo Search packages:      
Sourcecode: icu version File versions

UnicodeString & DecimalFormat::toPattern ( UnicodeString result ) const [virtual]

Synthesizes a pattern string that represents the current state of this Format object.

Parameters:
resultOutput param which will receive the pattern. Previous contents are deleted.
Returns:
A reference to 'result'.
See also:
applyPattern ICU 2.0

Definition at line 3155 of file decimfmt.cpp.

References FALSE.

Referenced by NumberFormatRegressionTest::Test4145457(), NumberFormatRegressionTest::Test4147295(), NumberFormatRegressionTest::Test4147706(), NumberFormatRegressionTest::Test4176114(), NumberFormatRegressionTest::Test4212072(), IntlTestDecimalFormatAPI::testAPI(), NumberFormatTest::TestCurrencySign(), NumberFormatTest::TestExponential(), IntlTestNumberFormat::testFormat(), NumberFormatTest::TestPatterns(), NumberFormatTest::TestScientific(), toLocalizedPattern(), NFSubstitution::toString(), and unum_toPattern().

{
    return toPattern(result, FALSE);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index