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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9fbc059a74d74032,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-25 07:25:25 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!isdnet!psinet-france!psiuk-f4!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Leap Seconds Date: Fri, 25 May 2001 10:17:51 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9elpii$30i$1@nh.pace.co.uk> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 990800274 3090 136.170.200.133 (25 May 2001 14:17:54 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 25 May 2001 14:17:54 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:7770 Date: 2001-05-25T14:17:54+00:00 List-Id: I need to do some computations involving seconds between two dates. AFAIK, there is nothing specific in the ARM related to the package Calendar that an implementation is required to account for leap seconds. Consider the following computation: Some_Duration := Time_Of (1996, 1, 1, 0.0) - Time_Of (1980, 1, 6, 0.0) ; I'd guess that an implementation having a big enough Duration would almost certainly consider leap years in this computation, but leap seconds might not be required or implemented. Across relatively small spans of time, it probably doesn't matter and certainly if one is only doing relative timing (deltas) it doesn't matter at all. However, across larger spans, it could be enough to make a difference. Does anyone know if it is required? MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/