def get_blackout_dates(self, start, end): """ A project is 'blacked out' when all of its sanctioned observers are unavailable. Returns a list of tuples describing the whole days where the project is 'blacked out' in UTC. """ return range_to_days(self.get_blackout_times(start, end))
def get_prescheduled_days(self, start, end): """ Returns a list of binary tuples of the form (start, end) that describe the whole days when this project cannot observe because other projects already have scheduled telescope periods during the time range specified by the start and end arguments. """ return range_to_days(self.get_prescheduled_times(start, end))
def get_prescheduled_days(start, end, project = None): return range_to_days(Period.get_prescheduled_times(start , end , project = project))