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



Teradata.Client.Provider Namespace > TdTimestampWithTimeZone Structure : GreaterThan Method
An instance of TdTimestampWithTimeZone.
An instance of TdTimestampWithTimeZone.
Compares two TdTimestampWithTimeZone to determine whether the left operand is greater than the right operand.
Syntax
'Declaration
 
Public Shared Function GreaterThan( _
   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.GreaterThan(left, right)
public static bool GreaterThan( 
   TdTimestampWithTimeZone left,
   TdTimestampWithTimeZone right
)
public:
static bool GreaterThan( 
   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

true if the left is greater than the right, false otherwise.

Return Value Description
true left and right are not TdTimestampWithTimeZone.Null and left is greater than right.
false

left and / or right is Null

-or-

left is less 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 less than or equal to the right operand if the GreaterThan operator returns false.

Refer to TdTimestampWithTimeZone.CompareTo for more information.

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

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members