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



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

Parameters

interval
A TdIntervalDay.
days
Number of days to add.

Return Value

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

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

The returned TdIntervalDay will contain a precision set to the TdIntervalDay.MaxPrecision.

Requirements

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

See Also

Reference

TdIntervalDay Structure
TdIntervalDay Members
Overload List