class

CrSubtitleShift::SrtTime

Inherits Reference < Object

Constants

SRT_LINE_FORMAT = /^(\d{2}:\d{2}:\d{2},\d{3}) --\> (\d{2}:\d{2}:\d{2},\d{3})(.*)/
TIME_FORMAT = "%d/%m/%Y %H:%M:%S,%L"
TIME_TEMPLATE = "01/01/2000 %s"

Constructors

new(operation : String, amount : Float64)
Source

Instance methods

convert_line(line : String) : String
Source
convert_time(time : String) : String
Source