public DateQueryParser(String[] dateFields){
  this.dateFields=dateFields.clone();
  this.solrDateMathPattern=Pattern.compile(".*(NOW|DAY|MONTH|YEAR).*");
  this.instantDatePattern=Pattern.compile("\\d{4}\\-\\d{2}\\-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z");
}

public DateQueryParser ( String [ ] dateFields ) { this . dateFields = dateFields . clone ( ) ; this . solrDateMathPattern = Pattern . compile ( ".*(NOW|DAY|MONTH|YEAR).*" ) ; this . instantDatePattern = Pattern . compile ( "\\d{4}\\-\\d{2}\\-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z" ) ; }
constructs a date query parser
