udojava.com
Does Java automatically switch daylight saving time?
Short answer: Yes, it does. Long answer: The time in Java is just a simple long value (milliseconds since 1970) without any information about the time zone. The java.util.Date and java.sql.Date als…