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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Robert I. Eachus" Newsgroups: comp.lang.ada Subject: Re: Ada case-statement Date: Sun, 18 Mar 2018 01:41:05 -0400 Organization: Aioe.org NNTP Server Message-ID: References: <365d65ea-5f4b-4b6a-be9b-1bba146394ab@googlegroups.com> <30fbf68e-b002-468d-9a8d-71cb457b0d03@googlegroups.com> NNTP-Posting-Host: fZYVf2g/avGnWJvs1xVPEA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.8.3 Xref: reader02.eternal-september.org comp.lang.ada:51054 Date: 2018-03-18T01:41:05-04:00 List-Id: On 3/15/2018 5:12 PM, Jeffrey R. Carter wrote: > For the early 1980s, it was somewhat prescient in avoiding 2-digit > years, something I recall liking when I first encountered the language. > Ada 83 has a known Doom Date of December 31, 2099. It has since been updated to 2399, so don't get too worried. Actually, the beginning of Ada time 1901, isn't perfect. Some countries Russia, Turkey, and Greece in particular used the Julian calendar into the early 20th century. It just didn't make sense for Ada to worry about THAT particular problem. In the other direction, even the Gregorian calendar isn't perfect and a leap day will need to be skipped every few thousand years. Probably either Feb. 29th, 3000 or Feb. 29th, 4000 won't occur. My guess is that the latter date will win out. When it starts to become an issue in the late thirtieth century, it will be easier to put it off for another thousand years. (I just hope I'm around to see it. ;-)