code: def get_min_sec_out_from_morning(self):
          
          mins = []
          for timerange in self.timeranges:
              mins.append(timerange.get_first_sec_out_from_morning())
          return min(mins)
docs: Get the first second (from midnight) where we are out of a timerange
  
          :return: smallest seconds from midnight of all timerange where it is not effective
          :rtype: int