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



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

Parameters

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

Return Value

A TdPeriodTimestamp is returned that is the result of adding the Timespan to the period.
Exceptions
ExceptionDescription
The result could not be represented as a TdPeriodTimestamp.
The TdPeriodTimestamp beginning bound is greater or equal to the ending bound of the period.
Remarks
Refer to TdPeriodTimestamp.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

TdPeriodTimestamp Structure
TdPeriodTimestamp Members
Overload List