| Property | Defined By | ||
|---|---|---|---|
| CurrentClockMode : ClockMode [static]
Global clock mode for the current parse session. | TimeExpression | ||
| CurrentFrameRate : Number [static]
Global framerate for the current parse session
| TimeExpression | ||
| CurrentFrameRateDenominator : Number [static]
Global frame rate denominator for the current parse session
| TimeExpression | ||
| CurrentFrameRateNominator : Number [static]
Global frame rate nominator for the current parse session
| TimeExpression | ||
| CurrentSmpteFrameRate : SmpteFrameRate [static] [read-only]
Global Smpte timecode to use for the current parse session
| TimeExpression | ||
| CurrentSmpteMode : SmpteMode [static]
Global smpte mode for the current parse session. | TimeExpression | ||
| CurrentSubFrameRate : Number [static]
Global sub frame rate for the current parse session
| TimeExpression | ||
| CurrentTickRate : uint [static]
Global tick rate for the current parse session
| TimeExpression | ||
| CurrentTimeBase : TimeBase [static]
Global time base for the current parse session. | TimeExpression | ||
| Method | Defined By | ||
|---|---|---|---|
getMetricMultiplier(p_timeexpression:String, p_framerate:Number, p_tickrate:Number):Number [static]
Returns the number needed to convert a time expression to milliseconds
if the time expression is defined in times of a time metric
| TimeExpression | ||
initializeParameters():void [static]
Initialize global parameters for the next parse session
| TimeExpression | ||
[static] | TimeExpression | ||
UnitTests():Boolean [static]
Test the time parser. | TimeExpression | ||
| Constant | Defined By | ||
|---|---|---|---|
| clockTimeRegex : RegExp [static]
clock-time
: hours ":" minutes ":" seconds ( fraction | ":" frames ( "." sub-frames )? )?
| TimeExpression | ||
| offsetTimeRegex : RegExp [static]
offset-time
: time-count fraction? metric
| TimeExpression | ||
| CurrentClockMode | property |
public static var CurrentClockMode:ClockModeGlobal clock mode for the current parse session.
| CurrentFrameRate | property |
public static var CurrentFrameRate:NumberGlobal framerate for the current parse session
| CurrentFrameRateDenominator | property |
public static var CurrentFrameRateDenominator:NumberGlobal frame rate denominator for the current parse session
| CurrentFrameRateNominator | property |
public static var CurrentFrameRateNominator:NumberGlobal frame rate nominator for the current parse session
| CurrentSmpteFrameRate | property |
CurrentSmpteFrameRate:SmpteFrameRate [read-only] Global Smpte timecode to use for the current parse session
public static function get CurrentSmpteFrameRate():SmpteFrameRate| CurrentSmpteMode | property |
public static var CurrentSmpteMode:SmpteModeGlobal smpte mode for the current parse session.
| CurrentSubFrameRate | property |
public static var CurrentSubFrameRate:NumberGlobal sub frame rate for the current parse session
| CurrentTickRate | property |
public static var CurrentTickRate:uintGlobal tick rate for the current parse session
| CurrentTimeBase | property |
public static var CurrentTimeBase:TimeBaseGlobal time base for the current parse session.
| getMetricMultiplier | () | method |
public static function getMetricMultiplier(p_timeexpression:String, p_framerate:Number, p_tickrate:Number):NumberReturns the number needed to convert a time expression to milliseconds if the time expression is defined in times of a time metric
Parameters
p_timeexpression:String | |
p_framerate:Number | |
p_tickrate:Number |
Number |
| initializeParameters | () | method |
public static function initializeParameters():voidInitialize global parameters for the next parse session
| parse | () | method |
public static function parse(p_timeExpression:String):TimeCodeParameters
p_timeExpression:String |
TimeCode |
| UnitTests | () | method |
public static function UnitTests():BooleanTest the time parser. Not comprehensive at this point
ReturnsBoolean |
| clockTimeRegex | Constant |
public static const clockTimeRegex:RegExpclock-time : hours ":" minutes ":" seconds ( fraction | ":" frames ( "." sub-frames )? )?
| offsetTimeRegex | Constant |
public static const offsetTimeRegex:RegExpoffset-time : time-count fraction? metric