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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,60a1f757e0f7f8ea X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.216.234.135 with SMTP id s7mr2488226weq.8.1343315233615; Thu, 26 Jul 2012 08:07:13 -0700 (PDT) Received: by 10.66.74.40 with SMTP id q8mr1634410pav.19.1343315233324; Thu, 26 Jul 2012 08:07:13 -0700 (PDT) Path: q11ni71877290wiw.1!nntp.google.com!16no13072213wil.1!news-out.google.com!p10ni64952163pbh.1!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!news-peer1!btnet!zen.net.uk!hamilton.zen.co.uk!xlned.com!feeder3.xlned.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!94.232.116.11.MISMATCH!feed.xsnews.nl!border-1.ams.xsnews.nl!newsfeed.straub-nv.de!news.swapon.de!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: awdorrin Newsgroups: comp.lang.ada Subject: Re: Ada.Calendar Question Date: Mon, 23 Jul 2012 06:23:24 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <6eb75022-3376-400b-bdb5-d0150168f429@googlegroups.com> NNTP-Posting-Host: 192.91.173.34 Mime-Version: 1.0 X-Trace: posting.google.com 1343051247 23975 127.0.0.1 (23 Jul 2012 13:47:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 23 Jul 2012 13:47:27 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=192.91.173.34; posting-account=YkFdLgoAAADpWnfCBA6ZXMWTz2zHNd0j User-Agent: G2/1.0 X-Received-Bytes: 1627 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-23T06:23:24-07:00 List-Id: On Friday, July 20, 2012 2:51:23 PM UTC-4, Simon Wright wrote: > > It depends what you mean by 'epoch'. If it's 1 Jan 1970 (as for Unix), > then you should be aware that at the change to Ada 05 GNAT changed > representations so that 1 Jan 1970 is no longer stored as 0. Since I'm interfacing to C routines, I do mean 1-Jan-1970. I do like your suggestion, it is much cleaner and I don't need to include either the Interfaces.C or Ada.Calendar.Conversions packages. Thanks!