Package org.opencastproject.caption.impl
Class TimeImpl
java.lang.Object
org.opencastproject.caption.impl.TimeImpl
- All Implemented Interfaces:
Comparable<org.opencastproject.caption.api.Time>,org.opencastproject.caption.api.Time
Implementation of
Time.-
Constructor Details
-
TimeImpl
public TimeImpl(int h, int m, int s, int ms) throws org.opencastproject.caption.api.IllegalTimeFormatException - Throws:
org.opencastproject.caption.api.IllegalTimeFormatException
-
-
Method Details
-
getHours
public int getHours()- Specified by:
getHoursin interfaceorg.opencastproject.caption.api.Time- See Also:
-
getMinutes
public int getMinutes()- Specified by:
getMinutesin interfaceorg.opencastproject.caption.api.Time- See Also:
-
getSeconds
public int getSeconds()- Specified by:
getSecondsin interfaceorg.opencastproject.caption.api.Time- See Also:
-
getMilliseconds
public int getMilliseconds()- Specified by:
getMillisecondsin interfaceorg.opencastproject.caption.api.Time- See Also:
-
compareTo
public int compareTo(org.opencastproject.caption.api.Time arg0) - Specified by:
compareToin interfaceComparable<org.opencastproject.caption.api.Time>- See Also:
-