title: Solr dateRangeField fetch exact data considering only dates and without considering time
body: <p>1) In solr 6,I have dateRange fieldType</p>
  
  <p><code>&lt;fieldType name="daterange" class="solr.DateRangeField"/&gt;</code></p>
  
  <p>2) This contains availableDateRange of a hotel lodge rooms.</p>
  
  <pre><code>"availableDateRange":["[2017-01-01T00:00:00Z TO 2017-12-31T00:00:00Z]"],
  </code></pre>
  
  <p>3) When I query to get all Available hotel rooms for whole 2017 year with following query</p>
  
  <pre><code>fq={!field f=dateRange op=Contains}[2017 TO 2017]
  </code></pre>
  
  <p>4) I am getting only rooms which are also available on 2018-01-01, I mean I am getting only records which has dateRange endDate+1</p>
  
  <pre><code>[2017-01-01T00:00:00Z TO 2018-01-01T00:00:00Z]
  </code></pre>
  
  <blockquote>
    <p>I know This problem can be solved if I can save end date as</p>
  
  <pre><code>"availableDateRange":["[2017-01-01T00:00:00Z TO 2017-12-31T23:59:59Z]"],
  </code></pre>
    
    <p>OR change the endDate in query itself, i.e. EndDate-1</p>
    
    <p>due to some reason I can not do above two approach</p>
  </blockquote>
  
  <p>Does anyone knows any settings or any change in query (#3 in my question) so I will get following record.</p>
  
  <pre><code>"availableDateRange":["[2017-01-01T00:00:00Z TO 2017-12-31T00:00:00Z]"],
  </code></pre>