Implemented haxe.Timer instance for Java.