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,aa60d56d22a287d1 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Newbie Q: How to program in UTC (time/calendar) ? Date: 24 Mar 2009 12:29:33 +0100 Organization: Jacob Sparre Andersen Sender: sparre@jspa-nykredit Message-ID: <87mybbi2g2.fsf@nbi.dk> References: <89277c47-788d-441c-95b2-f47e1b70a532@j39g2000yqn.googlegroups.com> NNTP-Posting-Host: 78.156.209.108.bredband.3.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: munin.nbi.dk 1237894174 16256 78.156.209.108 (24 Mar 2009 11:29:34 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 24 Mar 2009 11:29:34 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Xref: g2news1.google.com comp.lang.ada:4253 Date: 2009-03-24T12:29:33+01:00 List-Id: reinkor writes: > What is the "natural"/best way to make an Ada program treat > time/calendar data in UTC ? The quetion is about treating old > measurements/data tagged with UTC time. In that case I would probably load the data into a data structure composed with the necessary precision and ranges. It might make sense to reuse some of the subtypes from Ada.Calendar when constructing the data structure. Greetings, Jacob -- Beware of people with Gnus, they may Hurd you.