public class TimeInterval
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
TimeInterval(long start,
long end)
Both parameters are ms since 1970.0 UT.
|
| Modifier and Type | Method and Description |
|---|---|
TimeInterval |
clone()
Returns a new TimeInterval object with the same data.
|
long |
getEnd()
Get end time in ms since 1970.0 UT.
|
long |
getStart()
Get start time in ms since 1970.0 UT.
|
public TimeInterval(long start,
long end)
public long getStart()
public long getEnd()
public TimeInterval clone()
clone in class java.lang.Object