Send feedback on this topic.
Teradata.Client.Provider
Addition(TdPeriodDate,TimeSpan) Operator



Teradata.Client.Provider Namespace > TdPeriodDate Structure > Addition Operator : Addition(TdPeriodDate,TimeSpan) Operator
A TdPeriodDate.
A TimeSpan that will be added to TdPeriodDate.
Adds the specified TimeSpan to a TdPeriodDate.
Syntax
'Declaration
 
Overloads Public Operator +( _
   ByVal period As TdPeriodDate, _
   ByVal timeSpan As TimeSpan _
) As TdPeriodDate
'Usage
 
public TdPeriodDate operator +( 
   TdPeriodDate period,
   TimeSpan timeSpan
)
public:
TdPeriodDate operator +( 
   TdPeriodDate period,
   TimeSpan timeSpan
)

Parameters

period
A TdPeriodDate.
timeSpan
A TimeSpan that will be added to TdPeriodDate.

Return Value

A TdPeriodDate is returned that is the result of adding the Timespan to TdPeriodDate.
Exceptions
ExceptionDescription
The result could not be represented as a TdPeriodDate.
The TdPeriodDate beginning bound is greater or equal to the ending bound of the period.
Remarks

If the period parameter is TdPeriodDate.Null a TdPeriodDate.Null will be returned.

Refer to TdPeriodDate.Add and Period Arithmetic for additional information.
Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdPeriodDate Structure
TdPeriodDate Members
Overload List
Add(TimeSpan) Method