code: def get_comments_by_genus_type_for_reference_on_date(self, reference_id, comment_genus_type, from_, to):
          
          # Implemented from template for
          # osid.relationship.RelationshipLookupSession.get_relationships_by_genus_type_for_source_on_date
          comment_list = []
          for comment in self.get_comments_by_genus_type_for_reference():
              if overlap(from_, to, comment.start_date, comment.end_date):
                  comment_list.append(comment)
          return objects.CommentList(comment_list, runtime=self._runtime)
docs: Gets a list of all comments of the given genus type corresponding to a reference ``Id`` and effective during the entire given date range inclusive but not confined to the date range.
  
          arg:    reference_id (osid.id.Id): a reference ``Id``
          arg:    comment_genus_type (osid.type.Type): the comment genus
                  type
          arg:    from (osid.calendaring.DateTime): from date
          arg:    to (osid.calendaring.DateTime): to date
          return: (osid.commenting.CommentList) - the returned
                  ``CommentList``
          raise:  InvalidArgument - ``to`` is less than ``from``
          raise:  NullArgument - ``reference_id, comment_genus_type,
                  from,`` or ``to`` is ``null``
          raise:  OperationFailed - unable to complete request
          raise:  PermissionDenied - authorization failure
          *compliance: mandatory -- This method must be implemented.*