|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.javasimon.callback.timeline.TimeRange
public class TimeRange
Time range and associated data.
| Field Summary | |
|---|---|
private long |
endTimestamp
Ending of the time range |
protected long |
lastTimestamp
Timestamp of last change |
private long |
startTimestamp
Beginning of the time range |
| Constructor Summary | |
|---|---|
protected |
TimeRange(long startTimestamp,
long endTimestamp)
Main constructor. |
| Method Summary | |
|---|---|
boolean |
containsTimestamp(long timestampInMs)
Indicates whether this time range contains given timestamp. |
long |
getEndTimestamp()
|
long |
getStartTimestamp()
|
String |
toString()
|
protected StringBuilder |
toStringBuilder(StringBuilder stringBuilder)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final long startTimestamp
private final long endTimestamp
protected long lastTimestamp
| Constructor Detail |
|---|
protected TimeRange(long startTimestamp,
long endTimestamp)
startTimestamp - Beginning of the time rangeendTimestamp - Ending of the time range| Method Detail |
|---|
public long getStartTimestamp()
public long getEndTimestamp()
public boolean containsTimestamp(long timestampInMs)
timestampInMs - Timestamp express in millisecondsprotected StringBuilder toStringBuilder(StringBuilder stringBuilder)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||