A timer implements of java