I'm afraid that this class is semantically incorrect . A 'Timer' class is supposed to be an object which counts down from a particular time interval. So, in this case, a proper class name would be 'Stopwatch' (i.e., measuring elapsed time by counting time upwards). Nonetheless, thanks for sharing .