Send feedback on this topic.
Teradata.Client.Provider
Subtract(TdIntervalMinute,Int32) Method



Teradata.Client.Provider Namespace > TdIntervalMinute Structure > Subtract Method : Subtract(TdIntervalMinute,Int32) Method
A TdIntervalMinute.
Number of miinutes to subtract.
The specified number of minutes is subtracted from the TdIntervalMinute.
Syntax
'Declaration
 
Public Overloads Shared Function Subtract( _
   ByVal interval As TdIntervalMinute, _
   ByVal minutes As Integer _
) As TdIntervalMinute
'Usage
 
Dim interval As TdIntervalMinute
Dim minutes As Integer
Dim value As TdIntervalMinute
 
value = TdIntervalMinute.Subtract(interval, minutes)
public static TdIntervalMinute Subtract( 
   TdIntervalMinute interval,
   int minutes
)
public:
static TdIntervalMinute Subtract( 
   TdIntervalMinute interval,
   int minutes
) 

Parameters

interval
A TdIntervalMinute.
minutes
Number of miinutes to subtract.

Return Value

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

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

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

Requirements

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

See Also

Reference

TdIntervalMinute Structure
TdIntervalMinute Members
Overload List