#
cp.apple.fcpxml.time
Allows you to convert time string values found in a FCPXML document into Lua objects, that do all the operations using rational numbers.
Final Cut Pro expresses time values as a rational number of seconds with a 64-bit numerator and a 32-bit denominator. Frame rates for NTSC-compatible media, for example, use a frame duration of 1001/30000s (29.97 fps) or 1001/60000s (59.94 fps). If a time value is equal to a whole number of seconds, Final Cut Pro may reduce the fraction into whole seconds (for example, 5s).
#
API Overview
Constants - Useful values which cannot be changed
ONE
Functions - API calls offered directly by the extension
add div doesIntersect eq gcd lt max min mul sub tonumber tostring unm
Constructors - API calls which return an object, typically one that offers API methods
new