Send feedback on this topic.
Teradata.Client.Provider
LessThanOrEqual Method (TdIntervalDay)



Teradata.Client.Provider Namespace > TdIntervalDay Structure : LessThanOrEqual Method
An instance of TdIntervalDay.
An instance of TdIntervalDay.
This method determines whether the left is less than or equal to the right.
Syntax
'Declaration
 
Public Shared Function LessThanOrEqual( _
   ByVal left As TdIntervalDay, _
   ByVal right As TdIntervalDay _
) As Boolean
'Usage
 
Dim left As TdIntervalDay
Dim right As TdIntervalDay
Dim value As Boolean
 
value = TdIntervalDay.LessThanOrEqual(left, right)
public static bool LessThanOrEqual( 
   TdIntervalDay left,
   TdIntervalDay right
)
public:
static bool LessThanOrEqual( 
   TdIntervalDay left,
   TdIntervalDay right
) 

Parameters

left
An instance of TdIntervalDay.
right
An instance of TdIntervalDay.

Return Value

true indicates the left is less than or equal to the right, false otherwise.

Return Value Description
true

left and right are not TdIntervalDay.Null and left is less than or equal to right

-or-

left is Null and right is Null.

false

The left is greater than right

-or-

Either left or right is Null.

Remarks

Comparison operators always return false if one of the operands is Null. Therefore you should not assume that the reverse condition is true. For example you cannot assume that the left is greater than the right if the LessThanOrEqual method returns false.

The reverse condition is true when the left and the right are not Null.

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

TdIntervalDay Structure
TdIntervalDay Members