mirror of https://github.com/apache/lucene.git
- Javadoc fix.
PR: Obtained from: Submitted by: Kelvin Tan Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149720 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b5e126c654
commit
95cf4fa216
|
@ -109,14 +109,14 @@ public final class DateFilter extends Filter {
|
|||
return result;
|
||||
}
|
||||
|
||||
/** Constructs a filter for field <code>f</code> matching dates before
|
||||
/** Constructs a filter for field <code>f</code> matching dates after
|
||||
<code>date</code>. */
|
||||
public static DateFilter After(String field, Date date) {
|
||||
DateFilter result = new DateFilter(field);
|
||||
result.start = DateField.dateToString(date);
|
||||
return result;
|
||||
}
|
||||
/** Constructs a filter for field <code>f</code> matching times before
|
||||
/** Constructs a filter for field <code>f</code> matching times after
|
||||
<code>time</code>. */
|
||||
public static DateFilter After(String field, long time) {
|
||||
DateFilter result = new DateFilter(field);
|
||||
|
|
Loading…
Reference in New Issue