function calculateEndDate(startDate, verticalRise) {
    var endDate = new Date(startDate.getTime());
    var additionalSeconds = Math.round(verticalRise / ESTIMATED_LIFT_SPEED);
    endDate.setSeconds(endDate.getSeconds() + additionalSeconds);

    return endDate;
  }
/**
   * Based on the verticalRise and the ESTIMATED_LIFT_SPEED calculates the time for one chair of the
   * lift to get from the bottom to the top of the lift. Based on this and the start date, calculates the end date.
   */
Based on the verticalRise and the ESTIMATED_LIFT_SPEED calculates the time for one chair of the
lift to get from the bottom to the top of the lift. Based on this and the start date, calculates the end date.
Based on the verticalRise and the ESTIMATED_LIFT_SPEED calculates the time for one chair of the lift to get from the bottom to the top of the lift . Based on this and the start date calculates the end date .
function calculateEndDate(startDate, verticalRise) {
    var endDate = new Date(startDate.getTime());
    var additionalSeconds = Math.round(verticalRise / ESTIMATED_LIFT_SPEED);
    endDate.setSeconds(endDate.getSeconds() + additionalSeconds);
    return endDate;
  }
function calculateEndDate ( startDate , verticalRise ) { var endDate = new Date ( startDate . getTime ( ) ) ; var additionalSeconds = Math . round ( verticalRise / ESTIMATED_LIFT_SPEED ) ; endDate . setSeconds ( endDate . getSeconds ( ) + additionalSeconds ) ; return endDate ; }
Based on the verticalRise and the ESTIMATED_LIFT_SPEED calculates the time for one chair of the
 lift to get from the bottom to the top of the lift.
Based on the verticalRise and the ESTIMATED_LIFT_SPEED calculates the time for one chair of the lift to get from the bottom to the top of the lift .