(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
|