Logo Search packages:      
Sourcecode: icu version File versions

AnnualTimeZoneRule & AnnualTimeZoneRule::operator= ( const AnnualTimeZoneRule right  ) 

Assignment operator.

Parameters:
right The object to be copied. ICU 3.8

Definition at line 215 of file tzrule.cpp.

References DateTimeRule::clone(), fDateTimeRule, fEndYear, fStartYear, and TimeZoneRule::operator=().

                                                             {
    if (this != &right) {
        TimeZoneRule::operator=(right);
        delete fDateTimeRule;
        fDateTimeRule = right.fDateTimeRule->clone();
        fStartYear = right.fStartYear;
        fEndYear = right.fEndYear;
    }
    return *this;
}


Generated by  Doxygen 1.6.0   Back to index