TimerDuration class