protected void gwtTearDown() throws Exception { super.gwtTearDown(); DateTimeUtils.setCurrentMillisSystem(); DateTimeZone.setDefault(originalDateTimeZone); /* //BEGIN GWT IGNORE TimeZone.setDefault(originalTimeZone); Locale.setDefault(originalLocale); //END GWT IGNORE */ originalDateTimeZone = null; }
protected void gwtSetUp() throws Exception { super.gwtSetUp(); DateTimeUtils.setCurrentMillisFixed(TEST_TIME_NOW); originalDateTimeZone = DateTimeZone.getDefault(); /* //BEGIN GWT IGNORE originalTimeZone = TimeZone.getDefault(); originalLocale = Locale.getDefault(); //END GWT IGNORE */ DateTimeZone.setDefault(LONDON); /* //BEGIN GWT IGNORE //TimeZone.setDefault(TimeZone.getTimeZone("Europe/London")); //Locale.setDefault(Locale.UK); TimeZone.setDefault(DateTimeZone.forID("Asia/Tokyo").toTimeZone()); Locale.setDefault(Locale.JAPAN); //END GWT IGNORE */ }