Package org.opencastproject.caption.api
Interface Time
- All Superinterfaces:
Comparable<Time>
- All Known Implementing Classes:
TimeImpl
Time representation of single caption (start time, end time, duration,...).
-
Method Summary
Modifier and TypeMethodDescriptionintgetHours()Get hours of a caption.intGet milliseconds of a caption.intGet minutes of a caption.intGet seconds of a caption.Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getHours
int getHours()Get hours of a caption.- Returns:
- hours
-
getMinutes
int getMinutes()Get minutes of a caption.- Returns:
- minutes
-
getSeconds
int getSeconds()Get seconds of a caption.- Returns:
- seconds
-
getMilliseconds
int getMilliseconds()Get milliseconds of a caption.- Returns:
- milliseconds
-