code: def get_start_and_end_time(self, ref=None):
          
          return (get_start_of_day(self.syear, int(self.smon), self.smday),
                  get_end_of_day(self.eyear, int(self.emon), self.emday))
docs: Specific function to get start time and end time for CalendarDaterange
  
          :param ref: time in seconds
          :type ref: int
          :return: tuple with start and end time
          :rtype: tuple (int, int)