xs.yearMonthDuration.multiply( value as number ) as xs.yearMonthDuration
Multiplies an xs.yearMonthDuration by a number. Returns an xs.yearMonthDuration.
const v1 = xs.yearMonthDuration("P3Y7M"); v1.multiply(2);
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.