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!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Inserting Calendar.Time in a database Date: Sat, 7 Aug 2004 22:32:02 +0200 Message-ID: <13x45njobjvn3.yhisk87dws3.dlg@40tude.net> References: <1jgik0ntrex36$.1pyha1husddpe.dlg@40tude.net> <41134e18$1_1@baen1673807.greenlnk.net> <94tir0ejn3n4$.a7o1lv87loha$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de A881awtApAQqWKifQZ24gwI4mKj8yRcjIjD745jZJpmFsGMBg= User-Agent: 40tude_Dialog/2.0.12.1 Xref: g2news1.google.com comp.lang.ada:2621 Date: 2004-08-07T22:32:02+02:00 List-Id: On Sat, 7 Aug 2004 09:50:18 +0000 (UTC), Martin Dowie wrote: > Or just read the UTC Offset until you get 2 values that are the same... (:-)) Consider an Ada system put in a car moving along a time zone margin... But seriously, there are requirements on time stamps Ada.Calendar.Time does not meet: 1. Not monotonic 2. Coarse granularity (12 ms in the worst case) 3. Two clock readings are not unique And why a small networking embedded system (intelligent sensor, for example), which needs synchronized clock should use Ada.Calendar, maintain time zone data base etc? -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de