Parcelable representing a time interval.
| public static final Creator<TimeInterval> | CREATOR |
|
TimeInterval(long startTimestamp, long endTimestamp)
Creates an instance of TimeInterval defined by given start and end timestamps.
|
| long |
getEndTimestamp()
Returns the end timestamp.
|
| long |
getStartTimestamp()
Returns the start timestamp.
|
| void |
writeToParcel(Parcel dest, int
flags)
|
Creates an instance of TimeInterval defined by given start and end timestamps.
| startTimestamp | Start time of the interval in milliseconds since epoch |
|---|---|
| endTimestamp | End time of the interval in milliseconds since epoch |
Returns the end timestamp.
Returns the start timestamp.