code: def get_valid_times_for_job(self, num_job, allow_overlap=True):
          
          if self.compatibility_mode:
              return self.get_valid_times_for_job_legacy(num_job)
          else:
              return self.get_valid_times_for_job_workflow(num_job,
                                                     allow_overlap=allow_overlap)
docs: Get the times for which this job is valid.