|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deckfour.xes.info.impl.XTimeBoundsImpl
public class XTimeBoundsImpl
This class implements timestamp boundaries, which can be used to describe the temporal extent of a log, or of a contained trace.
Field Summary | |
---|---|
protected Date |
first
The earliest timestamp of these boundaries (left bound). |
protected Date |
last
The latest timestamp of these boundaries (right bound). |
Constructor Summary | |
---|---|
XTimeBoundsImpl()
Creates new timestamp boundaries. |
Method Summary | |
---|---|
Date |
getEndDate()
Returns the latest timestamp of these boundaries (right bound). |
Date |
getStartDate()
Returns the earliest timestamp of these boundaries (left bound). |
boolean |
isWithin(Date date)
Checks, whether the given date is within these boundaries. |
void |
register(Date date)
Registers the given date. |
void |
register(XEvent event)
Registers the given event, i.e. |
void |
register(XTimeBounds boundary)
Registers the given timestamp boundaries. |
String |
toString()
Returns a string representation of these boundaries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Date first
protected Date last
Constructor Detail |
---|
public XTimeBoundsImpl()
Method Detail |
---|
public Date getStartDate()
XTimeBounds
getStartDate
in interface XTimeBounds
public Date getEndDate()
XTimeBounds
getEndDate
in interface XTimeBounds
public boolean isWithin(Date date)
XTimeBounds
isWithin
in interface XTimeBounds
date
- Date to be checked.
public void register(XEvent event)
event
- Event to be registered.public void register(Date date)
date
- Date to be registered.public void register(XTimeBounds boundary)
date
- Timestamp boundaries to be registered.public String toString()
XTimeBounds
toString
in interface XTimeBounds
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |