Class VttTime
java.lang.Object
org.wicketstuff.html5.media.webvtt.VttTime
A time time representation of WebVTT
- Author:
- Tobias Soloschenko
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetH()Gets the hoursintgetM()Gets the minutesintgetMi()Gets the millisecondsGets the representation as StringintgetS()Gets the secondssetH(int h) Sets the hour (has to be blow 100)setM(int m) Sets the minutes (has to be below 100)setMi(int mi) Sets the milliseconds (has to be below 1000)setS(int s) Sets the seconds (has to be below 100)
-
Constructor Details
-
VttTime
public VttTime()
-
-
Method Details
-
getH
public int getH()Gets the hours- Returns:
- the hours
-
setH
Sets the hour (has to be blow 100)- Parameters:
h- the hour- Returns:
- the time to perform further operations
-
getM
public int getM()Gets the minutes- Returns:
- the minutes
-
setM
Sets the minutes (has to be below 100)- Parameters:
m- the minutes- Returns:
- the time to perform further operations
-
getS
public int getS()Gets the seconds- Returns:
- the seconds
-
setS
Sets the seconds (has to be below 100)- Parameters:
s- the seconds- Returns:
- the time to perform further operations
-
getMi
public int getMi()Gets the milliseconds- Returns:
- the milliseconds
-
setMi
Sets the milliseconds (has to be below 1000)- Parameters:
mi- the milliseconds- Returns:
- the time to perform further operations
-
getRepresentation
Gets the representation as String- Returns:
- the representation as String
-