API Docs for Task.getDelay() are a bit vague

I’m looking at the Task interface, particularly Task.getDelay(), and the comment for it,

* Gets the delay that the task was scheduled to run after.
* @return The delay

is a little bit more ambiguous than I, and probably others, would like. My question about this is simply what are the units of this, ticks, or seconds? But I figured I would throw this out to bring some attention to ambiguous method comments.

Pretty sure I heard somewhere that all time units are in ticks (1/20 second)


Didn’t read OP’s post throughly. My apologizes.

Yes, all time measurements should be declared with ‘ticks’. A common unit for time measurement in programming. As simon816 has previously stated: there are 20 ticks in a second, therefore 20 * 60 = 120 ticks in a minute. Read more about ticks here: http://en.wikipedia.org/wiki/Synchronous_programming_language