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

UBool TimeZone::operator== ( const TimeZone that  )  const [virtual]

Returns true if the two TimeZones are equal. (The TimeZone version only compares IDs, but subclasses are expected to also compare the fields they add.)

that The TimeZone object to be compared with.
True if the given TimeZone is equal to this TimeZone; false otherwise. ICU 2.0

Reimplemented in OlsonTimeZone, RuleBasedTimeZone, SimpleTimeZone, and VTimeZone.

Definition at line 383 of file timezone.cpp.

References fID, and getDynamicClassID().

Referenced by VTimeZone::operator==(), SimpleTimeZone::operator==(), RuleBasedTimeZone::operator==(), and OlsonTimeZone::operator==().

    return getDynamicClassID() == that.getDynamicClassID() &&
        fID == that.fID;

Generated by  Doxygen 1.6.0   Back to index