ENH: Add util for changing timedeltas into frame numbers (which is more complex than it should be)