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



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

Parameters

left
An instance of TdTimestampWithTimeZone.
right
An instance of TdTimestampWithTimeZone.

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 or equal to the right, false otherwise.

Return Value Description
true left and right are not TdTimestampWithTimeZone.Null and left is less than or equal to right.
false

left and / or right is Null

-or-

left is greater than 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 the right operand if the LessThanOrEqual operator returns false.

Refer to TdTimestampWithTimeZone.CompareTo for more information.

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

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members