Loading TOC...

xs.yearMonthDuration.multiply

xs.yearMonthDuration.multiply(
   $value as number
) as xs.yearMonthDuration

Summary

Multiplies an xs.yearMonthDuration by a number. Returns an xs.yearMonthDuration.

Parameters
$value A number.

Example

var v1 = xs.yearMonthDuration("P3Y7M");
v1.multiply(2);

Comments

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