U_CAPI void ucal_setDateTime ( UCalendar* cal, int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second, UErrorCode *status)
Set a UCalendar's current date
Documentation
Set a UCalendar's current date.
The date is represented as a series of 32-bit integers.
- Parameters:
- cal - The UCalendar to set.
year - The desired year.
month - The desired month; one of UCAL_JANUARY, UCAL_FEBRUARY, UCAL_MARCH, UCAL_APRIL, UCAL_MAY,
UCAL_JUNE, UCAL_JULY, UCAL_AUGUST, UCAL_SEPTEMBER, UCAL_OCTOBER, UCAL_NOVEMBER, UCAL_DECEMBER, UCAL_UNDECIMBER
date - The desired day of the month.
hour - The desired hour of day.
minute - The desired minute.
second - The desirec second.
status - A pointer to an UErrorCode to receive any errors
- See Also:
- ucal_getMillis
ucal_setMillis
ucal_setDate
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