Logo Search packages:      
Sourcecode: icu version File versions

UBool VTimeZone::hasSameRules ( const TimeZone other  )  const [virtual]

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:
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 3.8

Reimplemented from TimeZone.

Definition at line 1185 of file vtzone.cpp.

References TimeZone::hasSameRules().

                                                   {
    return tz->hasSameRules(other);
}


Generated by  Doxygen 1.6.0   Back to index