MarkLogic Server 11.0 Product Documentation
xs.dayTimeDuration.multiply

xs.dayTimeDuration.multiply(
   value as number
) as xs.dayTimeDuration

Summary

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

Parameters
value A number.

Example

const v1 = xs.dayTimeDuration("P5DT4H");
v1.multiply(2);
Powered by MarkLogic Server | Terms of Use | Privacy Policy