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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a875d9649dde34e3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Thu, 30 Sep 2004 22:03:01 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: Subject: Re: GWindows Database time type Date: Thu, 30 Sep 2004 22:04:11 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Message-ID: NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-T42BqISHxzc+Hyx9AccqTWwtK5QFBaDN6X/5UksTaz1yU4KLcdd4yHs8KLUvriWNTGMi0Gs5ZDyLNN8!oEcn6f34yzhfRN83qaYe2HDeae7XBo3+v/npgeGpLb0LqxsTazCa7+qH9XiCJS14IjuMVCX9Yj5e X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.16 Xref: g2news1.google.com comp.lang.ada:4482 Date: 2004-09-30T22:04:11-05:00 List-Id: "stephane richard" wrote in message news:mE27d.12084$XC.1409@trndny08... > > "Stephen Leake" wrote in message > news:mailman.142.1096592260.390.comp.lang.ada@ada-france.org... > > > > Well, I still don't see why the design of GWindows.Calendar should be > > at all influenced by databases; let's keep things orthogonal as much > > as possible. > > > > -- > > -- Stephe > > > > I agree here totally with Stephen Leake. I think GWindows.Calendar should > be influenced neither by databases nor by Operating Systems either. > > There is a date representation standard, ISO-8601, which can be read here > http://www.mcs.vuw.ac.nz/technical/software/SGML/doc/iso8601/ISO8601.html as > well as other places on the web. Perhaps it could be based on this standard > instead? One obvious point is that you should determine what operations are needed that are not provided by the standard. Remember that Ada 2005 includes additional date/time operations for time zones, arithmetic, and formatting, so it doesn't make much sense to re-invent the wheel in those areas. It also expands the range of years upwards. What's missing there (more advanced time zones, fancy date and time output) probably can be built on top of those packages better and quicker than starting from scratch. Randy.