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.0 required=5.0 tests=BAYES_00,DATE_IN_PAST_24_48, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,59c3b3f9911c9191 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.180.205 with SMTP id bv13mr1450857qab.8.1343316384384; Thu, 26 Jul 2012 08:26:24 -0700 (PDT) Received: by 10.66.74.197 with SMTP id w5mr1676401pav.1.1343316384178; Thu, 26 Jul 2012 08:26:24 -0700 (PDT) Path: a15ni113198934qag.0!nntp.google.com!q21no5872802qas.0!news-out.google.com!b9ni65091145pbl.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newspump.sol.net!xlned.com!feeder5.xlned.com!feed.xsnews.nl!border-1.ams.xsnews.nl!newsfeed.straub-nv.de!news.swapon.de!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada.Calendar and NTP (and Unix Epoch) Date: Tue, 24 Jul 2012 22:29:00 +0200 Organization: cbb software GmbH Message-ID: References: <500dc548$0$2936$f40e02c5@shockwave.dk.telia.net> <18893cca-baa2-4930-bfb4-4c4f7eb7e983@googlegroups.com> <60c9c92b-280b-4178-a410-2bc8756c6b5e@googlegroups.com> <5513b36d-560f-42ee-b6b6-bdb456097780@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 9A8bJrx4NhDLcSmbrb6AdA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-07-24T22:29:00+02:00 List-Id: On Tue, 24 Jul 2012 23:43:49 +0400, Vasiliy Molostov wrote: > Probably and personally, I don't prefer to convert between representations > and catch one or two hour diffs, instead I prefer to do calculations > better done with monotonic time, and then convert result to the required > representation. This is the only right way to do it. > Converting from some representation into authoritative monotonic time is > "mission impossibe", since important data may be lost, because this > important data belongs entirely to the representation, and can not be > expressed in monotonic authoritative source. Possible, but under two conditions: 1. the corresponding time sources are synchronized; 2. the representation is sane (anything but political time). -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de