findTimeInterval

open override fun findTimeInterval(time: Double): Int

Searches for the interval that the supplied time falls within. Returns -1 if no interval is found

Interval indexing starts at index 0 (i.e. 0 is the first interval, silly Java zero based indexing)

Return

an int representing the interval

Parameters

time

the time to look up