Getters - Duration
array
An array of time units and their values.
µs
Alias for microseconds.
json
Data in the class mapped as a JavaScript Object with units as keys and their values as values.
The
toJSON
method uses this getter to generate JSON.