- System.setProperty("user.timezone", "America/Chicago");
- TimeZone.setDefault(TimeZone.getTimeZone("America/Chicago"));
What is the difference between the two? Which one is better/recommended for setting the timezone?
What is the difference between the two? Which one is better/recommended for setting the timezone?