System.TimeSpan.TTimeSpan._op_Addition
C++
static TTimeSpan __fastcall _op_Addition(const TTimeSpan &Left, const TTimeSpan &Right);
static System::TDateTime __fastcall _op_Addition(const TTimeSpan &Left, System::TDateTime Right);
static System::TDateTime __fastcall _op_Addition(const System::TDateTime Left, const TTimeSpan &Right);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.TimeSpan.hpp | System.TimeSpan | TTimeSpan |
Description
Function to add two TTimeSpan records.
op Addition returns an instance of TTimeSpan whose Days, Hours, Minutes, Seconds, Milliseconds and Ticks properties are the sums of the corresponding properties of the Left and Right parameters.
Note: If the Left or Right parameters are of type TDateTime, the return value is of type TDateTime.