Java org.apache.lucene.document DateTools fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.document DateTools fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.document DateTools.

The text is from its open source code.

Method

StringdateToString(Date date, Resolution resolution)
Converts a Date to a string suitable for indexing.
Dateround(Date date, Resolution resolution)
Limit a date's resolution.
longround(long time, Resolution resolution)
Limit a date's resolution.
DatestringToDate(String dateString)
Converts a string produced by timeToString or dateToString back to a time, represented as a Date object.
longstringToTime(String dateString)
Converts a string produced by timeToString or dateToString back to a time, represented as the number of milliseconds since January 1, 1970, 00:00:00 GMT.
StringtimeToString(long time, Resolution resolution)
Converts a millisecond time to a string suitable for indexing.