assert_intervaltime_single function

Assert that an interval is accurately defined as an interval, and return the interval