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



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

Parameters

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

Return Value

A TdPeriodTimestamp is returned that is the result of adding the Timespan to TdPeriodTimestamp.
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