Package org.opencastproject.caption.impl
Class TimeImpl
java.lang.Object
org.opencastproject.caption.impl.TimeImpl
- All Implemented Interfaces:
Comparable<Time>,Time
Implementation of
Time.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetHours()Get hours of a caption.intGet milliseconds of a caption.intGet minutes of a caption.intGet seconds of a caption.
-
Constructor Details
-
TimeImpl
- Throws:
IllegalTimeFormatException
-
-
Method Details
-
getHours
public int getHours()Get hours of a caption. -
getMinutes
public int getMinutes()Get minutes of a caption.- Specified by:
getMinutesin interfaceTime- Returns:
- minutes
- See Also:
-
getSeconds
public int getSeconds()Get seconds of a caption.- Specified by:
getSecondsin interfaceTime- Returns:
- seconds
- See Also:
-
getMilliseconds
public int getMilliseconds()Get milliseconds of a caption.- Specified by:
getMillisecondsin interfaceTime- Returns:
- milliseconds
- See Also:
-
compareTo
- Specified by:
compareToin interfaceComparable<Time>- See Also:
-