New method for clear clock interval. 

The code was formatted too.
Merge pull request #1 from isaax2/master

New method for clear clock interval.