Package org.deckfour.xes.info
Interface XTimeBounds
-
- All Known Implementing Classes:
XTimeBoundsImpl
public interface XTimeBounds- Author:
- Christian W. Guenther (christian@deckfour.org)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.DategetEndDate()Returns the latest timestamp of these boundaries (right bound).java.util.DategetStartDate()Returns the earliest timestamp of these boundaries (left bound).booleanisWithin(java.util.Date date)Checks, whether the given date is within these boundaries.java.lang.StringtoString()Returns a string representation of these boundaries.
-
-
-
Method Detail
-
getStartDate
java.util.Date getStartDate()
Returns the earliest timestamp of these boundaries (left bound).- Returns:
- The earliest timestamp of these boundaries.
-
getEndDate
java.util.Date getEndDate()
Returns the latest timestamp of these boundaries (right bound).- Returns:
- The latest timestamp of these boundaries.
-
isWithin
boolean isWithin(java.util.Date date)
Checks, whether the given date is within these boundaries.- Parameters:
date- Date to be checked.- Returns:
- Whether the specified date is within these boundaries.
-
toString
java.lang.String toString()
Returns a string representation of these boundaries.- Overrides:
toStringin classjava.lang.Object
-
-