Loading TOC...

xs.yearMonthDuration.lt

xs.yearMonthDuration.lt(
   $value as xs.yearMonthDuration
) as boolean

Summary

Less-than comparison on xs.yearMonthDuration values.

Parameters
$value A year month duration.

Example

var v1 = xs.yearMonthDuration("P3Y7M");
var v2 = xs.yearMonthDuration("P1Y4M");
v1.lt(v2);

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy