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-7-bit X-Google-Thread: 103376,92471489ebbc99c6 X-Google-Attributes: gid103376,public From: dale@cs.rmit.edu.au (Dale Stanbrough) Subject: Re: Y2K Issues Date: 1998/10/29 Message-ID: #1/1 X-Deja-AN: 406135855 References: <362B53A3.64E266AB@res.raytheon.com> <36365724.EF1CC215@maths.unine.ch> <7166p4$poe$1@nnrp1.dejanews.com> <717kpq$7cv$1@platane.wanadoo.fr> X-Complaints-To: abuse@cs.rmit.edu.au X-Trace: emu.cs.rmit.edu.au 909624602 16370 131.170.27.23 (29 Oct 1998 01:30:02 GMT) Organization: RMIT NNTP-Posting-Date: 29 Oct 1998 01:30:02 GMT Newsgroups: comp.lang.ada Date: 1998-10-29T01:30:02+00:00 List-Id: Robert I. Eachus wrote: " Ooooh boy is that asking for trouble. I'm not going to try to create a list of all the dates that various countries switched from Julian to Gregorian calendars. I'll just note that it spans five centuries so far, and there are some countries that still don't use EITHER Julian or Gregorian calendars. Greece and Russia are two of the countries that switched during the twentieth century." Don't we just need to support dates in the same way we support time, i.e. have a universal date (like GMT), and then supply localisation routines which allow different locations to convert from/to local calendars... package Calendar; package Calendar.Monotonic; package Calendar.Monotonic.Gregorian package Calendar.Monotonic.Julian; etc. Does making these children of (Ada.)Calendar aren't we locking it into a framework where people can't extend the hierachy because "only compiler developers are allowed to extend the Ada hierachy"? (yes, i know you can do this with Gnat, but I think we need a solution for all compilers). Dale