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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdPeriodTimestamp Structure
TdPeriodTimestamp Members
Overload List