function getStartDate(rangeBar) {
  return parseDate(Array.isArray(rangeBar) ? rangeBar[1] : rangeBar.startDate);
}
Get the start date of the provided range bar.

@param {Object} rangeBar The range bar object.
@returns {Date} The start date.