org.deckfour.xes.info
Interface XTimeBounds

All Known Implementing Classes:
XTimeBoundsImpl

public interface XTimeBounds

Author:
Christian W. Guenther (christian@deckfour.org)

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.
 String toString()
          Returns a string representation of these boundaries.
 

Method Detail

getStartDate

Date getStartDate()
Returns the earliest timestamp of these boundaries (left bound).

Returns:
The earliest timestamp of these boundaries.

getEndDate

Date getEndDate()
Returns the latest timestamp of these boundaries (right bound).

Returns:
The latest timestamp of these boundaries.

isWithin

boolean isWithin(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

String toString()
Returns a string representation of these boundaries.

Overrides:
toString in class Object