# op:yearMonthDuration-greater-than - XPath XQuery Reference

Returns true if $arg1 is a longer duration than $arg2.Defines
         the semantics of the "gt" operator when applied to two xs:yearMonthDuration
         values. Also used in the definition of the "le" operator.The function call op:yearMonthDuration-greater-than($A, $B) is defined to
            return the same result as op:yearMonthDuration-less-than($B, $A)