Implemented haxe.Timer instance for Java.

As title.