public class DateParser extends Object
String arguments containing dates in the
format "yyyy-MM-dd'T'HH:mm:ss.s" (where only yyyy is mandatory) into Date instances.Refiner,
RankEvaluator| Constructor and Description |
|---|
DateParser() |
| Modifier and Type | Method and Description |
|---|---|
static Date |
parse(String dateString)
A method used primarily in the initialize(String args[]) method of GeoIndexLookup plugins
(rankers & refiners) in order to parse
String arguments containing dates in the
format "yyyy-MM-dd'T'HH:mm:ss.s" (where only yyyy is mandatory) into Date instances. |
public static Date parse(String dateString) throws ParseException
String arguments containing dates in the
format "yyyy-MM-dd'T'HH:mm:ss.s" (where only yyyy is mandatory) into Date instances.
(where only yyyy is mandatory) into Date instances.dateString - - The date string to parse and produce a date.ParseException - - in case of a parse error.Refiner,
RankEvaluatorCopyright © 2014. All Rights Reserved.