temporal.axisGetEnd( axis-name as String ) as cts.reference
This function returns the range index used to define the end of the period by the named axis.
A TEMPORAL-AXISNOTFOUND exception is thrown if the axis does not exist.
Parameters | |
---|---|
axis-name | The name of the axis from which to return the range index. |
const temporal = require("/MarkLogic/temporal.xqy"); temporal.axisGetEnd("system"); // Returns the range index reference used for the end of the period of the // axis named, "system."