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



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

Parameters

interval
A TdIntervalSecond.
seconds
Number of seconds to add.

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
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdIntervalSecond Structure
TdIntervalSecond Members
Overload List