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



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

Parameters

interval
A TdIntervalHour.
hours
Number of hours to add.

Return Value

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

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

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

Requirements

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

See Also

Reference

TdIntervalHour Structure
TdIntervalHour Members
Overload List