Send feedback on this topic.
Teradata.Client.Provider
Add(Int32,TdIntervalSecond) Method



Teradata.Client.Provider Namespace > TdIntervalSecond Structure > Add Method : Add(Int32,TdIntervalSecond) Method
Number of seconds to add.
A TdIntervalSecond.
The specified number of seconds is added to the TdIntervalSecond.
Syntax
'Declaration
 
Public Overloads Shared Function Add( _
   ByVal seconds As Integer, _
   ByVal interval As TdIntervalSecond _
) As TdIntervalSecond
'Usage
 
Dim seconds As Integer
Dim interval As TdIntervalSecond
Dim value As TdIntervalSecond
 
value = TdIntervalSecond.Add(seconds, interval)
public static TdIntervalSecond Add( 
   int seconds,
   TdIntervalSecond interval
)
public:
static TdIntervalSecond Add( 
   int seconds,
   TdIntervalSecond interval
) 

Parameters

seconds
Number of seconds to add.
interval
A TdIntervalSecond.

Return Value

A new TdIntervalSecond as the result of adding an Int32 to TdIntervalSecond.
Exceptions
ExceptionDescription
The resultant operation returns a value greater than the TdIntervalSecond.MaxValue or less than the TdIntervalSecond.MinValue.
Remarks

If interval is TdIntervalSecond.Null a Null will be returned.

The returned TdIntervalSecond will contain a precision set to the TdIntervalSecond.MaxPrecision. The scale will always be set to the scale of the interval.

Requirements

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

See Also

Reference

TdIntervalSecond Structure
TdIntervalSecond Members
Overload List