The arguments for the method are:
| Arguments | Description |
|---|---|
[in] value |
A Variant of type String, a numeric value, or an OraIntervalYM object to be compared. |
Returns a Boolean value: The value is True if the OraIntervalYM object is equal to the argument; otherwise, it is False.
If value is a Variant of type String, it must be in the following format: [+/-] YEARS-MONTHS.
If value is a numeric value, the value provided should represent the total number of years that the constructed OraIntervalYM object represents.