14.6.4.1 Equals

This static method determines whether or not two OracleIntervalYM values are equal.

Declaration

// C#
public static bool Equals(OracleIntervalYM val1, OracleIntervalYM val2);

Parameters

  • val1

    An OracleIntervalYM structure.

  • val2

    An OracleIntervalYM structure.

Return Value

Returns true if two OracleIntervalYM values represent the same time interval, otherwise, returns false.

Remarks

The following rules apply to the behavior of this method.

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

  • Two OracleIntervalYMs that contain a null value are equal.