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,cb2591a9113d8ee6,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail From: "REH" Newsgroups: comp.lang.ada Subject: Advice on Calendar.Time Date: 8 Nov 2005 08:04:33 -0800 Organization: http://groups.google.com Message-ID: <1131465873.702910.143400@g43g2000cwa.googlegroups.com> NNTP-Posting-Host: 192.91.173.36 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1131465880 10982 127.0.0.1 (8 Nov 2005 16:04:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 8 Nov 2005 16:04:40 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=192.91.173.36; posting-account=lnUIyw0AAACoRB2fMF2SFTIilm8F10q2 Xref: g2news1.google.com comp.lang.ada:6285 Date: 2005-11-08T08:04:33-08:00 List-Id: Ok, I have another problem: We have functions that convert between our mission time and Ada.Calendar.Time. The current implementation depends on the internal representation of Time. This is a pain because it must be rewritten everytime we move to a new compile (or even a new version of the same). Is there a way to do this in Standard Ada? Our mission time is the number of seconds since an arbitrarily choosen epoch (1/1/1998) GMT. We originally used Time_Of, but had problems because Time_Of was using local time and did DST adjustments which were undesirable. I hope that was clear.