Loading TOC...

xs.dayTimeDuration.add

xs.dayTimeDuration.add(
   $value as xs.dayTimeDuration
) as xs.dayTimeDuration

Summary

Adds two xs.dayTimeDurations. Returns an xs.dayTimeDuration.

Parameters
$value A day time duration.

Example

const v1 = xs.dayTimeDuration("P5DT4H");
const v2 = xs.dayTimeDuration("P1DT1H");
v1.add(v2);

Comments

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