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



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

Parameters

days
Number of days to add.
interval
A TdIntervalDay.

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 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdIntervalDay Structure
TdIntervalDay Members
Overload List