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

UBool VTimeZone::getTZURL ( UnicodeString url  )  const

Gets the RFC2445 TZURL property value. When a VTimeZone instance was created from VTIMEZONE data, the initial value is set by the TZURL property value in the data. Otherwise, the initial value is not set.

Parameters:
url Receives the RFC2445 TZURL property value.
Returns:
TRUE if TZURL attribute is available and value is set. ICU 3.8

Definition at line 1092 of file vtzone.cpp.

References FALSE, UnicodeString::length(), and TRUE.

                                            {
    if (tzurl.length() > 0) {
        url = tzurl;
        return TRUE;
    }
    return FALSE;
}


Generated by  Doxygen 1.6.0   Back to index