CAPI int32_t ucal_getTimeZoneDisplayName ( const UCalendar* cal, UCalendarDisplayNameType type, const char *locale, UChar* result, int32_t resultLength, UErrorCode* status)

Get the display name for a UCalendar's TimeZone

Documentation

Get the display name for a UCalendar's TimeZone. A display name is suitable for presentation to a user.
Returns:
The total buffer size needed; if greater than resultLength, the output was truncated.
Parameters:
cal - The UCalendar to query.
type - The desired display name format; one of UCAL_STANDARD, UCAL_SHORT_STANDARD, UCAL_DST, UCAL_SHORT_DST
locale - The desired locale for the display name.
status - A pointer to an UErrorCode to receive any errors
result - A pointer to a buffer to receive the formatted number.
resultLength - The maximum size of result.
resultLengthNeeded - If not 0, on output the number of characters actually written to result.

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