@utilities.arguments_not_none<EOL><INDENT>def get_comments_by_genus_type_for_reference_on_date(self, reference_id, comment_genus_type, from_, to):<DEDENT>
<EOL>comment_list = []<EOL>for comment in self.get_comments_by_genus_type_for_reference():<EOL><INDENT>if overlap(from_, to, comment.start_date, comment.end_date):<EOL><INDENT>comment_list.append(comment)<EOL><DEDENT><DEDENT>return objects.CommentList(comment_list, runtime=self._runtime)<EOL>
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.*