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

U_CAPI UBool U_EXPORT2 vzone_hasSameRules ( VZone zone,
const VZone other 
)

Returns true if this zone has the same rule and offset as another zone. That is, if this zone differs only in ID, if at all.

Parameters:
zone,the vzone to use
other the TimeZone object to be compared with
Returns:
true if the given zone is the same as this one, with the possible exception of the ID ICU 4.4

Definition at line 154 of file vzone.cpp.

                                                    {
    return ((VTimeZone*)zone)->VTimeZone::hasSameRules(*(VTimeZone*)other);
}


Generated by  Doxygen 1.6.0   Back to index