Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE void U_EXPORT2 udat_setCalendar ( UDateFormat fmt,
const UCalendar calendarToSet 
)

Set the UCalendar associated with an UDateFormat. A UDateFormat uses a UCalendar to convert a raw value to, for example, the day of the week.

Parameters:
fmtThe formatter to set.
calendarToSetA pointer to an UCalendar to be used by fmt.
See also:
udat_setCalendar ICU 2.0

Definition at line 230 of file udat.cpp.

{
    ((DateFormat*)fmt)->setCalendar(*((Calendar*)calendarToSet));
}

Generated by  Doxygen 1.6.0   Back to index