Generic function that takes in a time, then will determine if it's close enough to do a premiere-esque "snap" feature to the nearest object. Source: volume/slot.js, line 581