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
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdIntervalMinute Structure
TdIntervalMinute Members
Overload List