java.lang.Object
org.mbari.vcr4j.time.Converters
- Since:
- 2015-09-24T14:08:00
- Author:
- Brian Schlining
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoMediaTime(Timecode timecode) static TimecodetoTimecode(HMSF hmsf) Convert an HMSF to a timecode.static TimecodetoTimecode(MediaTime mediaTime) Returns a timecode representation of the mediatime.
-
Constructor Details
-
Converters
public Converters()
-
-
Method Details
-
toMediaTime
-
toTimecode
Returns a timecode representation of the mediatime. The frame section of the timecode is represented by decimal fractional seconds.- Parameters:
mediaTime- Value to convert- Returns:
- A timecode estimating the mediaTime
-
toTimecode
Convert an HMSF to a timecode.- Parameters:
hmsf- The HMSF to convert- Returns:
- An timecode where isComplete is false.
-