/** * Reset the timezone to default. */ private void resetTimeZone() { // use GMT timezone to avoid daylight savings rules affecting floating // time values.. getFormat().setTimeZone(TimeZone.getDefault()); // getFormat().setTimeZone(TimeZone.getTimeZone(TimeZones.GMT_ID)); }
/** * Reset the timezone to default. */ private void resetTimeZone() { // use GMT timezone to avoid daylight savings rules affecting floating // time values.. getFormat().setTimeZone(TimeZone.getDefault()); // getFormat().setTimeZone(TimeZone.getTimeZone(TimeZones.GMT_ID)); }
/** * Reset the timezone to default. */ private void resetTimeZone() { // use GMT timezone to avoid daylight savings rules affecting floating // time values.. getFormat().setTimeZone(TimeZone.getDefault()); // getFormat().setTimeZone(TimeZone.getTimeZone(TimeZones.GMT_ID)); }
/** * Reset the timezone to default. */ private void resetTimeZone() { // use GMT timezone to avoid daylight savings rules affecting floating // time values.. getFormat().setTimeZone(TimeZone.getDefault()); // getFormat().setTimeZone(TimeZone.getTimeZone(TimeZones.GMT_ID)); }
/** * Reset the timezone to default. */ private void resetTimeZone() { // use GMT timezone to avoid daylight savings rules affecting floating // time values.. getFormat().setTimeZone(TimeZone.getDefault()); // getFormat().setTimeZone(TimeZone.getTimeZone(TimeZones.GMT_ID)); }
TimeZone timeZone = registry.getTimeZone(TimeZone.getDefault().getID()); if (timeZone == null) { timeZone = registry.getTimeZone(DEFAULT_TIME_ZONE_IDENTIFIER);