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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Ada case-statement Date: Sun, 18 Mar 2018 10:17:37 +0100 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <365d65ea-5f4b-4b6a-be9b-1bba146394ab@googlegroups.com> <30fbf68e-b002-468d-9a8d-71cb457b0d03@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 18 Mar 2018 09:17:37 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="c0387673573113a03f9d1c10d84baabc"; logging-data="10651"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6YEYoagdvGoj0xfYGaUsbCnjs67TWsyM=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 In-Reply-To: Content-Language: en-US Cancel-Lock: sha1:FDZzYvaj7uu7OlqxMTuyF8Rb+EU= Xref: reader02.eternal-september.org comp.lang.ada:51057 Date: 2018-03-18T10:17:37+01:00 List-Id: On 03/18/2018 06:41 AM, Robert I. Eachus wrote: >> > 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. 2099 seemed like a reasonable value for Year_Number'Last at the time. Still does, for most things. Better than 1999. > 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. ;-) I'd bet on 4000, since 3000 isn't a leap year. I'd like to be around to see it, too. -- Jeff Carter "Insufficient laughter--that's grounds for divorce." Play It Again, Sam 126