Tuesday, February 17, 2015

Is in Daylight Saving Time (DST)? for given date and timezone

Daylight Saving Time (DST) is the practice of turning the clock ahead as warmer weather approaches and back as it becomes colder again so that people will have one more hour of daylight in the afternoon and evening during the warmer season of the year. i.e In the spring when DST starts (= lose one hour), and back one hour when DST ends in the fall (= regain one hour) In java we can find the given date and timezone is in DST. sample code

0 comments:

Post a Comment