Added utility functions to get effect position relative to end of
effect and next time interval.