GWT TimeUtils emulation