@Test public void addDateField() { SolrInputDocument doc = new SolrInputDocument(); fieldAdder.addDateField(doc, JudgmentIndexField.JUDGMENT_DATE, new LocalDate(2014, 9, 3)); assertSingleField(doc, "judgmentDate", "2014-09-03T00:00:00Z"); }
public void addDateField(SolrInputDocument doc, F field, LocalDate date) { if (date != null) { String dateString = SearchDateTimeUtils.convertDateToISOString(date); doc.addField(field.getFieldName(), dateString); } }
SolrFieldAdder { public void addDateField(SolrInputDocument doc, F field, LocalDate date) { if (date != null) { String dateString = SearchDateTimeUtils.convertDateToISOString(date); doc.addField(field.getFieldName(), dateString); } } }
SolrFieldAdder { public void addDateField(SolrInputDocument doc, F field, LocalDate date) { if (date != null) { String dateString = SearchDateTimeUtils.convertDateToISOString(date); doc.addField(field.getFieldName(), dateString); } }  }
SolrFieldAdder { public void addDateField(SolrInputDocument doc, F field, LocalDate date) { if (date != null) { String dateString = SearchDateTimeUtils.convertDateToISOString(date); doc.addField(field.getFieldName(), dateString); } }  void addField(SolrInputDocument doc, F field, String value); void addField(SolrInputDocument doc, F field, long value); void addField(SolrInputDocument doc, F field, String fieldPostfix, String value); void addCompositeField(SolrInputDocument doc, F field, List<String> values); void addDateField(SolrInputDocument doc, F field, LocalDate date); void addCurrencyField(SolrInputDocument doc, F field, BigDecimal value); }
SolrFieldAdder { public void addDateField(SolrInputDocument doc, F field, LocalDate date) { if (date != null) { String dateString = SearchDateTimeUtils.convertDateToISOString(date); doc.addField(field.getFieldName(), dateString); } }  void addField(SolrInputDocument doc, F field, String value); void addField(SolrInputDocument doc, F field, long value); void addField(SolrInputDocument doc, F field, String fieldPostfix, String value); void addCompositeField(SolrInputDocument doc, F field, List<String> values); void addDateField(SolrInputDocument doc, F field, LocalDate date); void addCurrencyField(SolrInputDocument doc, F field, BigDecimal value);  }