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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,92471489ebbc99c6 X-Google-Attributes: gid103376,public From: "Jean-Pierre Rosen" Subject: Re: Y2K Issues Date: 1998/10/28 Message-ID: <717kpq$7cv$1@platane.wanadoo.fr>#1/1 X-Deja-AN: 405996983 Content-Transfer-Encoding: 8bit References: <362B53A3.64E266AB@res.raytheon.com> <36365724.EF1CC215@maths.unine.ch> <7166p4$poe$1@nnrp1.dejanews.com> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Organization: Adalog Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-10-28T00:00:00+00:00 List-Id: Gautier.DeMontmollin@maths.unine.ch a �crit dans le message ... >"Standard" depends on what usage is expected from Ada language... >Since it is a powerful and comfortable tool in many other domains than >real-time systems (I think in present context to statistics or nature >sciences), the 1901..2099 range seems to me _a bit_ narrow. >Apparently - as you write - it's not a problem of sparing some bits or >adding lots of leap years code. Of course it's very easy to write a sort >of Long_Calendar from GNAT library sources but I already see people >using the wrong Calendar etc... But maybe there are solid reasons for that >range, like the ability of doing 8-bit arithmetics (199<256) with the years... You have to put some bounds somewhere. Allowing dates before 1600 for example (actually 1543 ? not sure) is really asking for trouble (that's when the Julian calendar switched to Gregorian). Note that for genealogy, you may well need dates before that. So, as some bound is required and the "natural" start (0) is clearly not feasible, they decided to stick to the "current" time, defined as the biggest range that allowed for the simplest calculations. ---------------------------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://perso.wanadoo.fr/adalog