Interface Time

All Superinterfaces:
Comparable<Time>
All Known Implementing Classes:
TimeImpl

public interface Time extends Comparable<Time>
Time representation of single caption (start time, end time, duration,...).
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get hours of a caption.
    int
    Get milliseconds of a caption.
    int
    Get minutes of a caption.
    int
    Get 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