Type: Time

From Waltz
Jump to navigation Jump to search

The Time type represents a specific amount of time, with millisecond precision.

Constructors

Arguments
Time(timestamp) String timestamp - The amount of time to represent, expressed in the format of HH:mm:ss.SSS, mm:ss.SSS, ss.SSS, or ss.
Time(millis) Number millis - The amount of time to represent, expressed in milliseconds.

Parameters

Type Details
milliseconds Number Note: The parameter is read-only. The number of milliseconds represented.

Functions

Arguments Returns Details
equals(t) Time t - A Time against which to compare equality. Boolean Compares two times to determine if they represent the same number of milliseconds.
Types
Primitives Boolean · Number · String
Objects Color · Dimension · DmxMultiverse · DmxUniverse · LocalInterface · Material · Point · RemoteAddress/IP · Scene · Time · Touch
Node Specific NdiSource · WoControlCue · WoHitTestResult · WoTimeline
Collections List · List of Lists · Map · Varargs
Special Any · Consumer · Expression · Null · Void