#NEWLINE# def _solr_date_range( self , start_date , end_date , start_date_inclusive = True , end_date_inclusive = False ) : #NEWLINE# #INDENT# ret = '' #NEWLINE# if start_date_inclusive : #NEWLINE# #INDENT# ret += '[' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ret += '{' #NEWLINE# #UNINDENT# ret += self . _zi_time ( start_date ) #NEWLINE# ret += ' TO ' #NEWLINE# ret += self . _zi_time ( end_date ) #NEWLINE# if end_date_inclusive : #NEWLINE# #INDENT# ret += ']' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ret += '}' #NEWLINE# #UNINDENT# return self