nn::fnd::DateTime::operator- Friend Function

Syntax

#include <nn/fnd.h>

friend DateTime operator-(
     const DateTime & lhs,
     const TimeSpan & rhs
);

friend TimeSpan operator-(
     const DateTime & lhs,
     const DateTime & rhs
);

List of Overloaded Member Functions

operator- ( const DateTime &, const TimeSpan & ) The - operator for the DateTime and TimeSpan classes.
operator- ( const DateTime &, const DateTime & ) The - operator between two DateTime classes.

Description of operator- ( const DateTime &, const TimeSpan & )

The - operator for the DateTime and TimeSpan classes.

Description of operator- ( const DateTime &, const DateTime & )

The result of subtraction between two valid DateTime class displayed with values between MIN_DATETIME and MAX_DATETIME fits in the range that can be displayed with TimeSpan.


CONFIDENTIAL