code: function(resources, start, min, max) {
        start = start ? new Date(start) : new Date();
        return getReservation(resources, start.getTime(), min || 1, max);
      }
docs: Attempts to reserve the set of resources at the earliest possible time from
  start time provide with a duration of at least min and no more than max
  minutes.