New method for clear clock interval.

The code was formatted too.