Package net.idrnd.voicesdk.core.common
Class TimeInterval
java.lang.Object
net.idrnd.voicesdk.core.common.TimeInterval
- All Implemented Interfaces:
Comparable<TimeInterval>
-
Constructor Details
-
TimeInterval
public TimeInterval(long startTime, long endTime)
-
-
Method Details
-
getStartTime
public long getStartTime()- Returns:
- Timestamp in milliseconds of where interval starts
-
getEndTime
public long getEndTime()- Returns:
- Timestamp in milliseconds of where interval ends (not inclusive)
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<TimeInterval>
-