Lady Heather has DST support code in it (in file heathmsc.cpp). It supports the current standard settings for several areas (US, Europe, Australia, New Zealand) or you can specify a custom DST rule. The code is around 200 lines long... some of that is Heather-specific requirements. It can also be simplified by not parsing the ASCII rule string and using hard coded values.
Implementing and testing seamless DST adjustment is a bit of a pain... particularly keeping the time correct during the hours before/after the switch. _______________________________________________ time-nuts mailing list -- time-nuts@lists.febo.com To unsubscribe, go to http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com and follow the instructions there.