Class VttTime

java.lang.Object
org.wicketstuff.html5.media.webvtt.VttTime

public class VttTime extends Object
A time time representation of WebVTT
Author:
Tobias Soloschenko
  • Constructor Details

    • VttTime

      public VttTime()
  • Method Details

    • getH

      public int getH()
      Gets the hours
      Returns:
      the hours
    • setH

      public VttTime setH(int h)
      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

      public VttTime setM(int m)
      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

      public VttTime setS(int s)
      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

      public VttTime setMi(int mi)
      Sets the milliseconds (has to be below 1000)
      Parameters:
      mi - the milliseconds
      Returns:
      the time to perform further operations
    • getRepresentation

      public String getRepresentation()
      Gets the representation as String
      Returns:
      the representation as String