parseTimeValueLong

open fun parseTimeValueLong(value: String): Long

Parses a string representing a time code position within a video following the format: HH:MM:ss.mmm or HH:MM:ss:mm Where the following values are expected:

  • HH - a 2 digit hours value, zero padded
  • MM - a 2 digit minutes value, zero padded
  • ss - a 2 digit seconds value, zero padded
  • mmm - a 2 or 3 digit milliseconds value, zero padded
The parsed value is converted to an integer representing the total number of milliseconds represented by this time code expression, relative to the start of a video timeline.

Return

the value, in milliseconds, parsed by the given input expression

Parameters

value

the time code expression to be parsed