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

U_STABLE void U_EXPORT2 udat_setNumberFormat ( UDateFormat fmt,
const UNumberFormat numberFormatToSet 
)

Set the UNumberFormat associated with an UDateFormat. A UDateFormat uses a UNumberFormat to format numbers within a date, for example the day number.

Parameters:
fmt The formatter to set.
numberFormatToSet A pointer to the UNumberFormat to be used by fmt to format numbers.
See also:
udat_getNumberFormat ICU 2.0

Definition at line 287 of file udat.cpp.

{
    ((DateFormat*)fmt)->setNumberFormat(*((NumberFormat*)numberFormatToSet));
}


Generated by  Doxygen 1.6.0   Back to index