#NEWLINE# def __init__( self , out , template , time_control_default ) : #NEWLINE# #INDENT# Formatter . __init__ ( self , out , template ) #NEWLINE# self . current_item = None #NEWLINE# self . time_control_default = self #NEWLINE# template . attrib_map_builder . type_fns [ 'ics.date_due' ] = ( lambda x : format_date ( self . current_item , x , True ) ) #NEWLINE# template . attrib_map_builder . type_fns [ 'ics.date_to_start' ] = ( lambda x : format_date ( self . current_item , x , False ) ) #NEWLINE# template . attrib_map_builder . type_fns [ 'ics.note' ] = ( lambda x : '\\r' . join ( x . get_note_lines ( ) ) )