Uses of Enum Class
org.apache.lucene.document.DateTools.Resolution
Packages that use DateTools.Resolution
-
Uses of DateTools.Resolution in org.apache.lucene.document
Methods in org.apache.lucene.document that return DateTools.ResolutionModifier and TypeMethodDescriptionstatic DateTools.ResolutionReturns the enum constant of this class with the specified name.static DateTools.Resolution[]DateTools.Resolution.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.lucene.document with parameters of type DateTools.ResolutionModifier and TypeMethodDescriptionstatic StringDateTools.dateToString(Date date, DateTools.Resolution resolution) Converts a Date to a string suitable for indexing.static longDateTools.round(long time, DateTools.Resolution resolution) Limit a date's resolution.static DateDateTools.round(Date date, DateTools.Resolution resolution) Limit a date's resolution.static StringDateTools.timeToString(long time, DateTools.Resolution resolution) Converts a millisecond time to a string suitable for indexing.