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:ClockMode
Global clock mode for the current parse session.
CurrentFrameRate | property |
public static var CurrentFrameRate:Number
Global framerate for the current parse session
CurrentFrameRateDenominator | property |
public static var CurrentFrameRateDenominator:Number
Global frame rate denominator for the current parse session
CurrentFrameRateNominator | property |
public static var CurrentFrameRateNominator:Number
Global 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:SmpteMode
Global smpte mode for the current parse session.
CurrentSubFrameRate | property |
public static var CurrentSubFrameRate:Number
Global sub frame rate for the current parse session
CurrentTickRate | property |
public static var CurrentTickRate:uint
Global tick rate for the current parse session
CurrentTimeBase | property |
public static var CurrentTimeBase:TimeBase
Global time base for the current parse session.
getMetricMultiplier | () | method |
public static function getMetricMultiplier(p_timeexpression:String, p_framerate:Number, p_tickrate:Number):Number
Returns 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():void
Initialize global parameters for the next parse session
parse | () | method |
public static function parse(p_timeExpression:String):TimeCode
Parameters
p_timeExpression:String |
TimeCode |
UnitTests | () | method |
public static function UnitTests():Boolean
Test the time parser. Not comprehensive at this point
ReturnsBoolean |
clockTimeRegex | Constant |
public static const clockTimeRegex:RegExp
clock-time : hours ":" minutes ":" seconds ( fraction | ":" frames ( "." sub-frames )? )?
offsetTimeRegex | Constant |
public static const offsetTimeRegex:RegExp
offset-time : time-count fraction? metric