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

UnicodeString & TimeZone::getCanonicalID ( const UnicodeString id,
UnicodeString canonicalID,
UErrorCode status 
) [static, inherited]

Returns the canonical system timezone ID or the normalized custom time zone ID for the given time zone ID.

id The input time zone ID to be canonicalized.
canonicalID Receives the canonical system time zone ID or the custom time zone ID in normalized format.
status Recevies the status. When the given time zone ID is neither a known system time zone ID nor a valid custom time zone ID, U_ILLEGAL_ARGUMENT_ERROR is set.
A reference to the result. ICU 4.0

Definition at line 1353 of file timezone.cpp.

References FALSE.

Referenced by ucal_getCanonicalTimeZoneID().

    UBool isSystemID = FALSE;
    return getCanonicalID(id, canonicalID, isSystemID, status);

Generated by  Doxygen 1.6.0   Back to index