Class MediaTimeFormat

java.lang.Object
java.text.Format
ca.phon.formatter.MediaTimeFormat
All Implemented Interfaces:
Serializable, Cloneable

public class MediaTimeFormat extends Format
Text format for media time values, three formats are available:
  1. time in minutes and seconds:
    1:3.5
  2. time in minutes and seconds with padded zeros:
    001:03.500
  3. time in milliseconds:
    63500
If format is provided with a float value it is interpreted as a number of seconds, an integer is interpreted as a number of milliseconds. parseObject will always return a time in milliseconds
See Also: