<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/temporal.axisGetEnd.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>temporal.axisGetEnd</api:function-name><api:suggest>temporal.axisgetend</api:suggest><api:suggest>temporal</api:suggest><api:suggest>axisgetend</api:suggest><api:function-link mode="xquery" fullname="temporal:axis-get-end">/apidoc/8.0/temporal:axis-get-end.xml</api:function-link><api:function mode="javascript" name="axisGetEnd" lib="temporal" category="Temporal" hidden="false" bucket="MarkLogic Built-In Functions" prefix="temporal" namespace="http://marklogic.com/xdmp/temporal" fullname="temporal.axisGetEnd"><api:summary>
    This function returns the range index used to define the end of the period
    by the named axis.
   <p xmlns="http://www.w3.org/1999/xhtml">
    A TEMPORAL-AXISNOTFOUND  exception is thrown if the axis does not exist.
  </p>    
  </api:summary><api:params><api:param name="axis-name" type="xs:string"><api:param-description>
    The name of the axis from which to return the range index.
    </api:param-description><api:param-name>axis-name</api:param-name><api:param-type>String</api:param-type></api:param></api:params><api:return>cts.reference</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
var 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." 
</pre></api:example></api:function></api:function-page>