class_docstr: This is a very thin subclass of :class:`NumericRange` that only
  overrides the initializer and ``__repr__()`` methods to work with datetime
  objects instead of numbers. Internally this object converts the datetime
  objects it's created with to numbers and otherwise acts like a
  ``NumericRange`` query.
  
  >>> DateRange("date", datetime(2010, 11, 3, 3, 0),
  ...           datetime(2010, 11, 3, 17, 59))
class_docstr_tok: ["This","is","a","very","thin","subclass","of",":","class",":","`","NumericRange","`","that","only","overrides","the","initializer","and","``","__repr__","(",")","``","methods","to","work","with","datetime","objects","instead","of","numbers",".","Internally","this","object","converts","the","datetime","objects","it","'s","created","with","to","numbers","and","otherwise","acts","like","a","``","NumericRange","``","query",".",">",">",">","DateRange","(","``","date","''",",","datetime","(","2010",",","11",",","3",",","3",",","0",")",",","...","datetime","(","2010",",","11",",","3",",","17",",","59",")",")"]
code: def __repr__(self):
      return "%s(%r, %r, %r, %s, %s, boost=%s)" % (
          self.__class__.__name__,
          self.fieldname,
          self.startdate,
          self.enddate,
          self.startexcl,
          self.endexcl,
          self.boost,
      )
  
imports: from __future__ import division
  from whoosh.compat import b, u
  from whoosh.query import qcore, terms, compound, wrappers
  from whoosh.util.times import datetime_to_long
label_desc: Use image node_id 2 for calling the DateRange obj's underlying member method code with example usage: obj.__repr__() and returns: unknown