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,e686c2c95beefb1c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!dedekind.zen.co.uk!zen.net.uk!demorgan.zen.co.uk!194.72.9.35.MISMATCH!news-peer1!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Inserting Calendar.Time in a database Date: Sat, 7 Aug 2004 09:50:18 +0000 (UTC) Organization: BT Openworld Message-ID: References: <1jgik0ntrex36$.1pyha1husddpe.dlg@40tude.net> <41134e18$1_1@baen1673807.greenlnk.net> <94tir0ejn3n4$.a7o1lv87loha$.dlg@40tude.net> NNTP-Posting-Host: host81-154-190-178.range81-154.btcentralplus.com X-Trace: sparta.btinternet.com 1091872218 28281 81.154.190.178 (7 Aug 2004 09:50:18 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Sat, 7 Aug 2004 09:50:18 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Xref: g2news1.google.com comp.lang.ada:2616 Date: 2004-08-07T09:50:18+00:00 List-Id: Dmitry A. Kazakov wrote: >> But even if it isn't atomic it's only going to be 'wrong' at most >> twice a year and only for a second or so each time. > > Should we shut down the systems for that period of time? (:-)) Then > one cannot deal with past and future times. The time zone itself is > not constant. Governments are very inventive in making our life > harder. Time stamps should be independent on this chaos. > > So I am not convinced that Ada.Calendar is a proper place for dealing > with UTC. Time zones are OK there, no question. But similarity > between zone times and UTC is rather apparent. As I said UTC is > monotonic, so it should be Ada.Real_Time. Or just read the UTC Offset until you get 2 values that are the same...