U_CAPI int32_t unum_toPattern ( const UNumberFormat* fmt, bool_t isPatternLocalized, UChar* result, int32_t resultLength, UErrorCode* status)

Extract the pattern from a UNumberFormat

Documentation

Extract the pattern from a UNumberFormat. The pattern will follow the pattern syntax.
Returns:
The total buffer size needed; if greater than resultLength, the output was truncated.
Parameters:
fmt - The formatter to query.
isPatternLocalized - TRUE if the pattern should be localized, FALSE otherwise.
result - A pointer to a buffer to receive the pattern.
resultLength - The maximum size of result.
status - A pointer to an UErrorCode to receive any errors

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de