#NEWLINE# def year_lookup_bounds( self , value ) : #NEWLINE# #INDENT# '\n        Returns a two-elements list with the lower and upper bound to be used\n        with a BETWEEN operator to query a field value using a year lookup\n\n        `value` is an int, containing the looked-up year.\n        ' #NEWLINE# first = '%s-01-01 00:00:00' #NEWLINE# second = '%s-12-31 23:59:59.999999' #NEWLINE# return [ ( first % first ) , ( second % value ) ]