Compares this XdmDuration object to the specified object. The result is true if and only if the argument is not null and the sign, year, month, day, hours, minutes, seconds and subseconds values have the same value as this object.
true if the objects have the same duration value, false otherwise.
Duration Class | Marklogic.Xcc.Types Namespace