def get_all_kernels(self, kernel_ids=None, owners=None):
        params = {}
        if kernel_ids:
            self.build_list_params(params, kernel_ids, 'ImageId')
        if owners:
            self.build_list_params(params, owners, 'Owner')
        filter = {'image-type' : 'kernel'}
        self.build_filter_params(params, filter)
        return self.get_list('DescribeImages', params,
                             [('item', Image)], verb='POST')
_date - object of datetime.date class
dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/connection.py/EC2Connection.get_all_kernels--crossover with--dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/ui/Calendar.py/Calendar.setDate