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

  • obj

    The object being compared to the current OracleTimeStamp instance.

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 OracleTimeStamp that has a value is greater than an OracleTimeStamp that has a null value.

  • Two OracleTimeStamps that contain a null value are equal.