GreaterThan

This method determines if the first of two OracleDate values is greater than the second.

Declaration

// C#
public static bool GreaterThan(OracleDate value1, OracleDate value2);

Parameters

  • value1

    The first OracleDate.

  • value2

    The second OracleDate.

Return Value

Returns true if the first of two OracleDate values is greater than the second; otherwise, returns false.

Remarks

The following rules apply to the behavior of this method.

  • Any OracleDate that has a value compares greater than an OracleDate that has a null value.

  • Two OracleDates that contain a null value are equal.