shortTimeToSeconds

public static long shortTimeToSeconds(String shortTime, long minSeconds, long defaultSeconds)

Convert short time to seconds. (9h, 20s, 4m)

Return

The amount of seconds

Parameters

shortTime

The short time string

minSeconds

The minimum amount of seconds

defaultSeconds

The default seconds when it can't be parsed