function validateTimes(times) {
    for (var i=0; i < times.length; i++) {
      validateTime(times[i]);
    }
  }