U_CAPI void ucal_set ( UCalendar* cal, UCalendarDateFields field, int32_t value)

Set the value of a field in a UCalendar

Documentation

Set the value of a field in a UCalendar. All fields are represented as 32-bit integers.
Parameters:
cal - The UCalendar to set.
field - The field to set; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH, UCAL_WEEK_OF_YEAR, UCAL_WEEK_OF_MONTH, UCAL_DATE, UCAL_DAY_OF_YEAR, UCAL_DAY_OF_WEEK, UCAL_DAY_OF_WEEK_IN_MONTH, UCAL_AM_PM, UCAL_HOUR, UCAL_HOUR_OF_DAY, UCAL_MINUTE, UCAL_SECOND, UCAL_MILLISECOND, UCAL_ZONE_OFFSET, UCAL_DST_OFFSET.
value - The desired value of field.
See Also:
ucal_get
ucal_isSet
ucal_clearField
ucal_clear

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