#NEWLINE# def setup( self , dates ) : #NEWLINE# #INDENT# cols = { #NEWLINE# #INDENT# PREVIOUS_ANNOUNCEMENT : self . get_expected_previous_event_dates ( dates ) , #NEWLINE# NEXT_ANNOUNCEMENT : self . get_expected_next_event_dates ( dates ) , #NEWLINE# #UNINDENT# } #NEWLINE# cols [ DAYS_TO_NEXT ] = self . _compute_busday_offsets ( self [ NEXT_ANNOUNCEMENT ] ) #NEWLINE# cols [ DAYS_SINCE_PREV ] = self . _compute_busday_offsets ( cols [ PREVIOUS_ANNOUNCEMENT ] ) #NEWLINE# return cols