Class: Timestamp
In Timescale units when one applies, else wall-clock µs since the Unix epoch (LOC 2.3.1.1).
Constructors
Constructor
new Timestamp(
timestamp):Timestamp
Parameters
timestamp
bigint
Returns
Timestamp
Properties
timestamp
readonlytimestamp:bigint
TYPE
readonlystaticTYPE:Timestamp=LOCPropertyId.Timestamp
Methods
toKeyValuePair()
toKeyValuePair():
KeyValuePair
Returns
toMicros()
toMicros(
timescale?):number
timescale is the object's Timescale, else the track's (LOC 2.3.1.2).
Parameters
timescale?
bigint
Returns
number
fromKeyValuePair()
staticfromKeyValuePair(pair):Timestamp|undefined
Parameters
pair
Returns
Timestamp | undefined