lib/Models/CatalogItem.js
function updateCurrentTime(catalogItem, updatedTime) {
  if (defined(catalogItem.clock)) {
    catalogItem.clock.currentTime = JulianDate.clone(updatedTime);
  }
}
function updateCurrentTime(catalogItem, updatedTime) {
  if (defined(catalogItem.clock)) {
    catalogItem.clock.currentTime = JulianDate.clone(updatedTime);
  }
}
function updateCurrentTime ( catalogItem , updatedTime ) { if ( defined ( catalogItem . clock ) ) { catalogItem . clock . currentTime = JulianDate . clone ( updatedTime ) ; } }
Updates the item.clock.currentTime using the value provided.
This function does this so that all clients subscribed to the items clock with DataSourceClock.definitionChanged are notified.

@param catalogItem The CatalogItem to set the current time for.
@param updatedTime The new current time to use.
@private
Updates the item . clock . currentTime using the value provided . This function does this so that all clients subscribed to the items clock with DataSourceClock . definitionChanged are notified .