XPath/XQuery dayTimeDuration-less-than function

Summary

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

Operator Mapping

Defines the semantics of the "lt" operator when applied to two xs:dayTimeDuration values. Also used in the definition of the "ge" operator.

Signature

op:dayTimeDuration-less-than(
$arg1 as xs:dayTimeDuration,
$arg2 as xs:dayTimeDuration
) as xs:boolean

Rules

If the number of seconds in the value of $arg1 is numerically less than the number of seconds in the value of $arg2, the function returns true.

Otherwise, the function returns false.

Notes

Either or both durations may be negative