From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2b151131f90050ab X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-28 15:54:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Ada, calendar, and daylight savings Date: 28 Oct 2001 17:53:24 -0600 Organization: LJK Software Message-ID: References: <3BDC97CE.8070304@acm.org> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1004313206 24673 192.135.80.34 (28 Oct 2001 23:53:26 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Sun, 28 Oct 2001 23:53:26 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:15317 Date: 2001-10-28T17:53:24-06:00 List-Id: In article <3BDC97CE.8070304@acm.org>, Corey Minyard writes: > I've been looking at calendar issues in Ada, I'm trying to write a > complete calendar package for Ada. I'm trying to understand how > daylight savings works in Ada.Calendar. > > An average day has 86_400 seconds (24 * 3600). However, the day where > daylight savings time is activated would seem to have 82_800 seconds (23 > * 3600) and the day where daylight savings time is deactivated, as just > happened in the US, would seem to have 90_000 seconds (25 * 3600). If you choose to reset your clock in response to legislative initiatives, you should reset your Ada calendar as well. Daylight savings time is just a manipulation of a time zone, and time zones are outside the Ada Calendar package, aren't they ?