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

U_CAPI UBool U_EXPORT2 vzone_getTZURL ( VZone zone,
UChar *&  url,
int32_t &  urlLength 

Gets the RFC2445 TZURL property value. When a vzone 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.

zone,the vzone to use
url Receives the RFC2445 TZURL property value.
urlLength,length of the url
TRUE if TZURL attribute is available and value is set. ICU 4.4

Definition at line 52 of file vzone.cpp.

References UnicodeString::getBuffer(), and UnicodeString::length().

    UnicodeString s;
    UBool b = ((VTimeZone*)zone)->VTimeZone::getTZURL(s);

    urlLength = s.length();
    return b;

Generated by  Doxygen 1.6.0   Back to index