getDuration

.getDuration()

Returns the duration of this Timer, in milliseconds.

The duration refers to how long this Timer should last, in total, and this will always return the same value regardless of if the Timer has expired or not.

See also

getDurationLeft - getElapsed - getPercent