Constructor and Description |
---|
TemporalPredicate(Date start,
Date end,
EventProcessorImpl.DateType type)
Instantiates a new temporal predicate.
|
TemporalPredicate(long offset,
EventProcessorImpl.DateType type) |
Modifier and Type | Method and Description |
---|---|
Date |
getEnd() |
Date |
getStart() |
EventProcessorImpl.DateType |
getType() |
static boolean |
isTemporal(String startXML,
String endXML) |
boolean |
matches(org.osgi.service.event.Event properties) |
String |
toString() |
public TemporalPredicate(Date start, Date end, EventProcessorImpl.DateType type)
start
- the start dateend
- the end datetype
- What datepublic TemporalPredicate(long offset, EventProcessorImpl.DateType type)
public boolean matches(org.osgi.service.event.Event properties)
public Date getEnd()
public Date getStart()
public EventProcessorImpl.DateType getType()
This work is licensed under a Creative Commons Attribution 4.0 International License.