Does java.util.Calendar supports automatic winter/summer time changes?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, it’s more up to
java.util.TimeZoneto do that… but yes, in general Java is aware of daylight saving time.I would personally recommend using Joda Time instead of
java.util.{Date,Calendar}though – it’s a much nicer API.