CompareTo Method (OracleDate)
Compares the current
OracleDate object to the specified object and returns an integer that represents their relative values.
'Declaration
Public Function CompareTo( _
ByVal As Object _
) As Integer
Parameters
- obj
- The object to be compared.
Return Value
A signed number indicating the relative values of the current
OracleDate structure and the object.
Return Value |
Condition |
Less than zero |
The value of the current OracleDate object is less than the object. |
Zero |
The current OracleDate object is the same to the object. |
Greater than zero |
The current OracleDate object is greater than the object. |