I have a simple Java Executor thread running. This just detects the time zone and displays.
The code is as follows :
ScheduledExecutorService exec =
Executing the following code resets the time zone to the updated system value:
System.setProperty("user.timezone", ""); TimeZone.setDefault(null);