U_CAPI int32_t udat_format ( const UDateFormat* format, UDate dateToFormat, UChar* result, int32_t resultLength, UFieldPosition* position, UErrorCode* status)

Format a date using an UDateFormat

Documentation

Format a date using an UDateFormat. The date will be formatted using the conventions specified in udat_open or udat_openPattern
Returns:
The total buffer size needed; if greater than resultLength, the output was truncated.
Parameters:
format - The formatter to use
dateToFormat - The date to format
result - A pointer to a buffer to receive the formatted number.
resultLength - The maximum size of result.
pos - If not 0, a UFieldPosition which will receive the information on a specific field.
status - A pointer to an UErrorCode to receive any errors
See Also:
udat_parse

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