Interface MediaTimePoint
- All Superinterfaces:
XmlElement
- All Known Implementing Classes:
MediaRelTimePointImpl,MediaTimePointImpl
Media time point represents a time within the track, e. g. the starting time of a video segment.
-
Method Summary
Modifier and TypeMethodDescriptionintgetDay()Returns the day of month.intThe fractions per second.intgetHour()Returns the hour of day (in 24-hour representation).intReturns the number of minutes.intgetMonth()Returns the month.intReturns the fractions.intReturns the seconds.longReturns the media time point in milliseconds.intgetYear()Returns the year.booleanReturnstrueif 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()Returnstrueif this time point is relative to another time point, e. g. the starting time point of a temporal segment's track.- Returns:
trueif this time point is relative
-