Package com.logviewer.filters
Class DatePredicate
java.lang.Object
com.logviewer.filters.DatePredicate
- All Implemented Interfaces:
RecordPredicate
-
Constructor Summary
ConstructorsConstructorDescriptionDatePredicate(long timestamp, boolean greater) DatePredicate(Date date, boolean greater) -
Method Summary
Modifier and TypeMethodDescriptionlonggetDate()booleansetDate(long timestamp) setGreater(boolean greater) booleantest(LogRecord record, LogFilterContext ctx) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.logviewer.filters.RecordPredicate
not
-
Constructor Details
-
DatePredicate
public DatePredicate() -
DatePredicate
-
DatePredicate
public DatePredicate(long timestamp, boolean greater)
-
-
Method Details
-
test
- Specified by:
testin interfaceRecordPredicate
-
getDate
public long getDate() -
setDate
-
isGreater
public boolean isGreater() -
setGreater
-