add javadoc comments to the Timer class