XPath/XQuery yearMonthDuration-greater-than function

Summary

Returns true if $arg1 is a longer duration than $arg2.

Operator Mapping

Defines the semantics of the "gt" operator when applied to two xs:yearMonthDuration values. Also used in the definition of the "le" operator.

Signature

op:yearMonthDuration-greater-than(
$arg1 as xs:yearMonthDuration,
$arg2 as xs:yearMonthDuration
) as xs:boolean

Rules

The function call op:yearMonthDuration-greater-than($A, $B) is defined to return the same result as op:yearMonthDuration-less-than($B, $A)