Not directly from the API. The application can certainly listen for start-call and end-call events and record its own timestamps accordingly.
Note, CUCM does store Call Detail Records for all completed calls, if you want to access this information in a 'post processing' fashion:
https://developer.cisco.com/site/sxml/discover/overview/cdr/