Add of_time_interval_t.

This is used instead for time intervals now instead of doubles.