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

U_STABLE const char* U_EXPORT2 udat_getAvailable ( int32_t  localeIndex  ) 

Get a locale for which date/time formatting patterns are available. A UDateFormat in a locale returned by this function will perform the correct formatting and parsing for the locale.

Parameters:
localeIndex The index of the desired locale.
Returns:
A locale for which date/time formatting patterns are available, or 0 if none.
See also:
udat_countAvailable ICU 2.0

Definition at line 294 of file udat.cpp.

{
    return uloc_getAvailable(index);
}


Generated by  Doxygen 1.6.0   Back to index