Class TimeImpl

java.lang.Object
org.opencastproject.caption.impl.TimeImpl
All Implemented Interfaces:
Comparable<org.opencastproject.caption.api.Time>, org.opencastproject.caption.api.Time

public class TimeImpl extends Object implements 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:
      getHours in interface org.opencastproject.caption.api.Time
      See Also:
      • Time.getHours()
    • getMinutes

      public int getMinutes()
      Specified by:
      getMinutes in interface org.opencastproject.caption.api.Time
      See Also:
      • Time.getMinutes()
    • getSeconds

      public int getSeconds()
      Specified by:
      getSeconds in interface org.opencastproject.caption.api.Time
      See Also:
      • Time.getSeconds()
    • getMilliseconds

      public int getMilliseconds()
      Specified by:
      getMilliseconds in interface org.opencastproject.caption.api.Time
      See Also:
      • Time.getMilliseconds()
    • compareTo

      public int compareTo(org.opencastproject.caption.api.Time arg0)
      Specified by:
      compareTo in interface Comparable<org.opencastproject.caption.api.Time>
      See Also: