Logo Search packages:      
Sourcecode: icu version File versions  Download package

void ChoiceFormat::applyPattern ( const UnicodeString pattern,
UErrorCode status 
) [virtual]

Sets the pattern.

pattern The pattern to be applied.
status Output param set to success/failure code on exit. If the pattern is invalid, this will be set to a failure result. ICU 2.0

Definition at line 286 of file choicfmt.cpp.

Referenced by ChoiceFormat(), and TestChoiceFormat::TestComplexExample().

    UParseError parseError;
    applyPattern(pattern, parseError, status);

Generated by  Doxygen 1.6.0   Back to index