public class DateFilter extends java.lang.Object implements EventFilter
Constructor and Description |
---|
DateFilter(long lower,
long upper)
Creates a new blade event filter selecting events whose date is between
the given bounds (inclusive).
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(BladeEvent event) |
long |
getMaxTime() |
long |
getMinTime() |
java.lang.String |
toString() |
void |
updateBounds(long start,
long end)
reduce the elapsed time window to be analyzed
|
public DateFilter(long lower, long upper)
lower
- the lower date bound (inclusive)upper
- the upper date bound (inclusive)public long getMinTime()
public long getMaxTime()
public void updateBounds(long start, long end)
start
- gap from the lower boundend
- in order to define the range with the start parameterpublic boolean accept(BladeEvent event)
accept
in interface EventFilter
public java.lang.String toString()
toString
in class java.lang.Object