14.8.8.10 Equals
Overrides Object
This method determines whether or not an object has the same date and time as the current OracleTimeStamp instance.
Declaration
// C#
public override bool Equals(object obj);Parameters
-
objThe object being compared to the current
OracleTimeStampinstance.
Return Value
Returns true if the obj is of type OracleTimeStamp and represents the same date and time; otherwise, returns false.
Remarks
The following rules apply to the behavior of this method.
-
Any
OracleTimeStampthat has a value is greater than anOracleTimeStampthat has a null value. -
Two
OracleTimeStamps that contain a null value are equal.