Hi, there:
In JDK, is there any straightforward way to get daylight saving time rule for a particular timezone, like start(end) date, start(end) time? Yes, as someone said, I can print out timezone (ex. System.out.println(myTimeZone)) like:
java.util.SimpleTimeZone[id=America/Los_Angeles,offset=-28800000,dst
Savings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1, ..............]
My question is: besides besides parsing above timezone output
string, is there any other method in JDK I can use to get those information? Highly appreciated if anyone can give me any suggestion.
Thanks a lot in advance
David