code: def AddFrequencyObject(self, frequency, problem_reporter):
      
      if frequency is not None:
        self.AddFrequency(frequency.StartTime(),
                          frequency.EndTime(),
                          frequency.HeadwaySecs(),
                          frequency.ExactTimes(),
                          problem_reporter)
docs: Add a Frequency object to this trip's list of Frequencies.