'Render event for a certain date and hour'

def render_for_datehour(self, date, hour, css_class='', style=''):

    output = ''
    if self.is_renderable(date, hour):
        output = self.render(css_class, style)
        self.rendered.append(date)
    return output
