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

U_DRAFT const char* U_EXPORT2 ucal_getType ( const UCalendar cal,
UErrorCode status 

Get the resource keyword value string designating the calendar type for the UCalendar.

calThe UCalendar to query.
statusThe error code for the operation.
The resource keyword value string. ICU 4.2

Definition at line 528 of file ucal.cpp.

References NULL, and U_FAILURE.

    if (U_FAILURE(*status)) {
        return NULL;
    return ((Calendar*)cal)->getType();

Generated by  Doxygen 1.6.0   Back to index