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



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

Parameters

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

Return Value

A TdPeriodTime is returned that is the result of adding the Timespan to TdPeriodTime.
Exceptions
ExceptionDescription
The result could not be represented as a TdPeriodTime.
Remarks
Refer to TdPeriodTime.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

TdPeriodTime Structure
TdPeriodTime Members
Overload List