Returns if this rule represents the same rule and offsets as another. When two TimeZoneRule objects differ only its names, this method returns true.
Reimplemented in InitialTimeZoneRule, AnnualTimeZoneRule, and TimeArrayTimeZoneRule.
Definition at line 83 of file tzrule.cpp.
References fDSTSavings, fRawOffset, and UObject::getDynamicClassID().
Referenced by TimeArrayTimeZoneRule::isEquivalentTo(), AnnualTimeZoneRule::isEquivalentTo(), and InitialTimeZoneRule::isEquivalentTo().
return ((this == &other) ||
(getDynamicClassID() == other.getDynamicClassID() &&
fRawOffset == other.fRawOffset &&
fDSTSavings == other.fDSTSavings));