|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.util.TimeInterval
org.epics.util.time.TimeInterval
@Deprecated public class TimeInterval
A period of time that spans two instances (included) at the nanosecond precision.
Method Summary | |
---|---|
static TimeInterval |
between(TimeStamp start,
TimeStamp end)
Deprecated. Returns the interval between the given timestamps. |
boolean |
contains(TimeStamp instant)
Deprecated. True if the given time stamp is inside the interval. |
TimeStamp |
getEnd()
Deprecated. Final value of the interval. |
TimeStamp |
getStart()
Deprecated. Initial value of the interval. |
TimeInterval |
minus(TimeDuration duration)
Deprecated. Returns a new interval shifted backward in time by the given duration. |
java.lang.String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean contains(TimeStamp instant)
instant
- a time stamp
public static TimeInterval between(TimeStamp start, TimeStamp end)
start
- the beginning of the intervalend
- the end of the interval
public TimeInterval minus(TimeDuration duration)
duration
- a time duration
public TimeStamp getStart()
public TimeStamp getEnd()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |