Send feedback on this topic.
Teradata.Client.Provider
Subtraction(TdIntervalMinute,Int32) Operator



Teradata.Client.Provider Namespace > TdIntervalMinute Structure > Subtraction Operator : Subtraction(TdIntervalMinute,Int32) Operator
A TdIntervalMinute.
Number of miinutes to subtract.
The specified number of minutes is subtracted from the TdIntervalMinute.
Syntax
'Declaration
 
Overloads Public Operator -( _
   ByVal interval As TdIntervalMinute, _
   ByVal minutes As Integer _
) As TdIntervalMinute
'Usage
 
public TdIntervalMinute operator -( 
   TdIntervalMinute interval,
   int minutes
)
public:
TdIntervalMinute operator -( 
   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
.NET6, 7Windows, Linux, MacOS
.NET Framework4.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