Package de.hsh.graja.regression
Class TimeInterval
- java.lang.Object
-
- de.hsh.graja.regression.TimeInterval
-
public class TimeInterval extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static TimeInterval
ZERO
-
Constructor Summary
Constructors Constructor Description TimeInterval(Instant begin, Instant end)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeInterval
between(Instant begin, Instant end)
Instant
getBegin()
Duration
getDuration()
Instant
getEnd()
void
setBegin(Instant begin)
void
setDuration(Duration duration)
void
setEnd(Instant end)
-
-
-
Field Detail
-
ZERO
public static final TimeInterval ZERO
-
-
Method Detail
-
between
public static TimeInterval between(Instant begin, Instant end)
-
getBegin
public Instant getBegin()
-
setBegin
public void setBegin(Instant begin)
-
getEnd
public Instant getEnd()
-
setEnd
public void setEnd(Instant end)
-
getDuration
public Duration getDuration()
-
setDuration
public void setDuration(Duration duration)
-
-