private static Field AddDateField(this LuceneDocument doc, string name, DateTime?datedata) { if (datedata == null) { return(null); } return(doc.AddInt64Field(name, datedata.Value.Ticks, Field.Store.YES)); }
private static Field AddDateField(this LuceneDocument doc, string name, DateTime?datedata) { if (datedata == null) { return(null); } return(doc.AddInt64Field(name, datedata.Value.Ticks, Field.Store.YES)); }