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

U_STABLE UEnumeration* U_EXPORT2 ucal_openTimeZones ( UErrorCode ec  ) 

Create an enumeration over all time zones.

Parameters:
ec input/output error code
Returns:
an enumeration object that the caller must dispose of using uenum_close(), or NULL upon failure. In case of failure *ec will indicate the error.
ICU 2.6

Definition at line 47 of file ucal.cpp.

References TimeZone::createEnumeration().

                                   {
    return uenum_openFromStringEnumeration(TimeZone::createEnumeration(), ec);
}


Generated by  Doxygen 1.6.0   Back to index