U_CAPI int32_t udat_getSymbols (const UDateFormat *fmt, UDateFormatSymbolType type, int32_t index, UChar *result, int32_t resultLength, UErrorCode *status)

Get the symbols associated with an UDateFormat

Documentation

Get the symbols associated with an UDateFormat. The symbols are what a UDateFormat uses to represent locale-specific data, for example month or day names.
Returns:
The total buffer size needed; if greater than resultLength, the output was truncated.
Parameters:
fmt - The formatter to query.
type - The type of symbols to get. One of UDAT_ERAS, UDAT_MONTHS, UDAT_SHORT_MONTHS, UDAT_WEEKDAYS, UDAT_SHORT_WEEKDAYS, UDAT_AM_PMS, or UDAT_LOCALIZED_CHARS
index - The desired symbol of type type.
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
See Also:
udat_countSymbols
udat_setSymbols

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