public class TimecodeUtils extends Object
| Constructor and Description |
|---|
TimecodeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertSecondsToTimecode(float totalSeconds)
Convert the given number of seconds into a timecode string of the form
"HH:mm:ss.SSS"
|
static String |
convertSecondsToTimecode(float totalSeconds,
int decimalScale)
Convert the given number of seconds into a timecode string of the form
"HH:mm:ss.SSS" where the given decimalScale indicates the number of
digits to retain after the decimal point
|
static float |
convertTimecodeToSeconds(String timecode)
Converts the given timecode string of the form "HH:mm:ss[.SSS]" to the
total number of seconds it represents
|
public static String convertSecondsToTimecode(float totalSeconds)
totalSeconds - public static String convertSecondsToTimecode(float totalSeconds, int decimalScale)
totalSeconds - decimalScale - public static float convertTimecodeToSeconds(String timecode)
timecode - Copyright © 2018 Alfresco Software. All rights reserved.