## Uses of Class
org.apache.lucene.document.DateTools.Resolution

- Packages that use DateTools.Resolution
  Package | Description
  --- | ---
  org.apache.lucene.document | The logical representation of a `Document` for indexing and searching.
  org.apache.lucene.queryParser | A simple query parser implemented with JavaCC.

- - ### Uses of DateTools.Resolution in org.apache.lucene.document

    Fields in org.apache.lucene.document declared as DateTools.Resolution
    Modifier and Type | Field and Description
    --- | ---
    `static DateTools.Resolution` | DateTools.Resolution.`DAY`
    `static DateTools.Resolution` | DateTools.Resolution.`HOUR`
    `static DateTools.Resolution` | DateTools.Resolution.`MILLISECOND`
    `static DateTools.Resolution` | DateTools.Resolution.`MINUTE`
    `static DateTools.Resolution` | DateTools.Resolution.`MONTH`
    `static DateTools.Resolution` | DateTools.Resolution.`SECOND`
    `static DateTools.Resolution` | DateTools.Resolution.`YEAR`

    Methods in org.apache.lucene.document with parameters of type DateTools.Resolution
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | DateTools.`dateToString(java.util.Date date, DateTools.Resolution resolution)` Converts a Date to a string suitable for indexing.
    `static java.util.Date` | DateTools.`round(java.util.Date date, DateTools.Resolution resolution)` Limit a date's resolution.
    `static long` | DateTools.`round(long time, DateTools.Resolution resolution)` Limit a date's resolution.
    `static java.lang.String` | DateTools.`timeToString(long time, DateTools.Resolution resolution)` Converts a millisecond time to a string suitable for indexing.

  - ### Uses of DateTools.Resolution in org.apache.lucene.queryParser

    Methods in org.apache.lucene.queryParser that return DateTools.Resolution
    Modifier and Type | Method and Description
    --- | ---
    `DateTools.Resolution` | QueryParser.`getDateResolution(java.lang.String fieldName)` Returns the date resolution that is used by RangeQueries for the given field.

    Methods in org.apache.lucene.queryParser with parameters of type DateTools.Resolution
    Modifier and Type | Method and Description
    --- | ---
    `void` | QueryParser.`setDateResolution(DateTools.Resolution dateResolution)` Sets the default date resolution used by RangeQueries for fields for which no specific date resolutions has been set.
    `void` | QueryParser.`setDateResolution(java.lang.String fieldName, DateTools.Resolution dateResolution)` Sets the date resolution used by RangeQueries for a specific field.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.