#NEWLINE# def __call__( self , item , context = None ) : #NEWLINE# #INDENT# from_date_val = transform_date ( self . _from_date_expression ( item , context ) ) #NEWLINE# to_date_val = transform_date ( self . _to_date_expression ( item , context ) ) #NEWLINE# if ( ( from_date_val is not None ) and ( to_date_val is not None ) ) : #NEWLINE# #INDENT# return ( to_date_val - from_date_val ) . days #NEWLINE# #UNINDENT# return None