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



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

Parameters

timeSpan
A TimeSpan that will be added to TdPeriodDate.
period
A 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

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

See Also

Reference

TdPeriodDate Structure
TdPeriodDate Members
Overload List
Add(TimeSpan) Method