Interface MediaTimePoint

All Superinterfaces:
org.opencastproject.mediapackage.XmlElement
All Known Implementing Classes:
MediaRelTimePointImpl, MediaTimePointImpl

public interface MediaTimePoint extends org.opencastproject.mediapackage.XmlElement
Media time point represents a time within the track, e. g. the starting time of a video segment.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the day of month.
    int
    The fractions per second.
    int
    Returns the hour of day (in 24-hour representation).
    int
    Returns the number of minutes.
    int
    Returns the month.
    int
    Returns the fractions.
    int
    Returns the seconds.
    long
    Returns the media time point in milliseconds.
    int
    Returns the year.
    boolean
    Returns true if this time point is relative to another time point, e. g. the starting time point of a temporal segment's track.

    Methods inherited from interface org.opencastproject.mediapackage.XmlElement

    toXml
  • Method Details

    • getDay

      int getDay()
      Returns the day of month.
      Returns:
      the day of month
    • getHour

      int getHour()
      Returns the hour of day (in 24-hour representation).
      Returns:
      the hour
    • getMinutes

      int getMinutes()
      Returns the number of minutes.
      Returns:
      the minutes
    • getMonth

      int getMonth()
      Returns the month.
      Returns:
      the month
    • getNFractions

      int getNFractions()
      Returns the fractions.
      Returns:
      the fractions
    • getSeconds

      int getSeconds()
      Returns the seconds.
      Returns:
      the seconds
    • getYear

      int getYear()
      Returns the year.
      Returns:
      the year
    • getFractionsPerSecond

      int getFractionsPerSecond()
      The fractions per second.
      Returns:
      the fractions per second
    • getTimeInMilliseconds

      long getTimeInMilliseconds()
      Returns the media time point in milliseconds.
      Returns:
      the media time point
    • isRelative

      boolean isRelative()
      Returns true if this time point is relative to another time point, e. g. the starting time point of a temporal segment's track.
      Returns:
      true if this time point is relative