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

U_STABLE const UNumberFormat* U_EXPORT2 udat_getNumberFormat ( const UDateFormat fmt  ) 

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

fmt The formatter to query.
A pointer to the UNumberFormat used by fmt to format numbers.
See also:
udat_setNumberFormat ICU 2.0

Definition at line 281 of file udat.cpp.

    return (const UNumberFormat*) ((DateFormat*)fmt)->getNumberFormat();

Generated by  Doxygen 1.6.0   Back to index