|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.clif.storage.lib.util.DateEventFilter
public class DateEventFilter
Helper class for filtering blade events according to their date.
Constructor Summary | |
---|---|
DateEventFilter(long from,
long to)
Creates a new blade event filter selecting events whose date is between the given bounds (inclusive). |
Method Summary | |
---|---|
boolean |
accept(BladeEvent event)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateEventFilter(long from, long to)
from
- the lower date bound (inclusive), unless negativeto
- the upper date bound (inclusive), unless negativeMethod Detail |
---|
public boolean accept(BladeEvent event)
accept
in interface EventFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |