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

U_STABLE void U_EXPORT2 ucal_setDefaultTimeZone ( const UChar zoneID,
UErrorCode ec 
)

Set the default time zone.

Parameters:
zoneIDnull-terminated time zone ID
ecinput/output error code

ICU 2.6

Definition at line 74 of file ucal.cpp.

References TimeZone::adoptDefault(), and NULL.

                                                             {
    TimeZone* zone = _createTimeZone(zoneID, -1, ec);
    if (zone != NULL) {
        TimeZone::adoptDefault(zone);
    }
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index