public class SolrDateConverter extends Object implements IConverter
Modifier and Type | Field and Description |
---|---|
protected boolean |
assumeDate |
protected static String |
OUTPUT_DATE_FORMAT |
Constructor and Description |
---|
SolrDateConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convert(String data)
Converts date to solr consumable format.
|
boolean |
isAssumeDate() |
static Date |
ParseSolrDate(String date) |
void |
setAssumeDate(boolean assumeDate) |
protected static final String OUTPUT_DATE_FORMAT
protected boolean assumeDate
public String convert(String data)
convert
in interface IConverter
data
- See documentation for javax.xml.bind.DatatypeConverter.parseDateTime(data) for acceptable input formats.public boolean isAssumeDate()
public void setAssumeDate(boolean assumeDate)
Copyright © 2022. All rights reserved.