Logo Search packages:      
Sourcecode: icu version File versions

TimeZoneRule & TimeZoneRule::operator= ( const TimeZoneRule right  )  [protected]

Assignment operator.

Parameters:
right The object to be copied. ICU 3.8

Definition at line 43 of file tzrule.cpp.

References fDSTSavings, fName, and fRawOffset.

Referenced by TimeArrayTimeZoneRule::operator=(), AnnualTimeZoneRule::operator=(), and InitialTimeZoneRule::operator=().

                                                 {
    if (this != &right) {
        fName = right.fName;
        fRawOffset = right.fRawOffset;
        fDSTSavings = right.fDSTSavings;
    }
    return *this;
}


Generated by  Doxygen 1.6.0   Back to index