COleDateTimeSpan::operator +, -

COleDateTimeSpan operator+( const COleDateTimeSpan& dateSpan ) const;

COleDateTimeSpan operator-( const COleDateTimeSpan& dateSpan ) const;

COleDateTimeSpan operator-( ) const;

Remarks

The first two operators let you add and subtract date/time-span values. The third lets you change the sign of a date/time-span value.

If either of the operands is null, the status of the resulting COleDateTimeSpan value is null.

If either of the operands is invalid and the other is not null, the status of the resulting COleDateTimeSpan value is invalid.

For more information on the valid, invalid, and null status values, see the m_status member variable.

COleDateTimeSpan OverviewClass MembersHierarchy Chart

See Also   COleDateTimeSpan::operator +=, -=