Send feedback on this topic.
Teradata.Client.Provider
LessThan Method (TdTime)



Teradata.Client.Provider Namespace > TdTime Structure : LessThan Method
An instance of TdTime.
An instance of TdTime.
Compares two TdTime to determine whether the left operand is less than the right operand.
Syntax
'Declaration
 
Public Shared Function LessThan( _
   ByVal left As TdTime, _
   ByVal right As TdTime _
) As Boolean
'Usage
 
Dim left As TdTime
Dim right As TdTime
Dim value As Boolean
 
value = TdTime.LessThan(left, right)
public static bool LessThan( 
   TdTime left,
   TdTime right
)
public:
static bool LessThan( 
   TdTime left,
   TdTime right
) 

Parameters

left
An instance of TdTime.
right
An instance of TdTime.

Return Value

A boolean is returned that indicates the result of the comparison.
Remarks

The value returned is true if the left is less than the right, false otherwise.

Return Value Description
true left and right are not TdTime.Null and left is less than right.
false

left and / or right is Null

-or-

left is greater than or equal to right.

Comparison operators always returns false if one of the operands is Null. Therefore, you must not assume that the reverse condition is true. For example you cannot assume that the left operand is greater than or equal the right operand if the LessThan operator returns false.

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdTime Structure
TdTime Members