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

U_STABLE const char* U_EXPORT2 ucal_getAvailable ( int32_t  localeIndex )

Get a locale for which calendars are available. A UCalendar in a locale returned by this function will contain the correct day and month names for the locale.

Parameters:
localeIndexThe index of the desired locale.
Returns:
A locale for which calendars are available, or 0 if none.
See also:
ucal_countAvailable ICU 2.0

Definition at line 307 of file ucal.cpp.

{

    return uloc_getAvailable(index);
}

Generated by  Doxygen 1.6.0   Back to index