comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Advice on Calendar.Time
Date: Wed, 9 Nov 2005 09:32:51 +0100
Date: 2005-11-09T09:32:48+01:00	[thread overview]
Message-ID: <lr7icxli9ftm.1q9tfyj2opexo$.dlg@40tude.net> (raw)
In-Reply-To: 1131465873.702910.143400@g43g2000cwa.googlegroups.com

On 8 Nov 2005 08:04:33 -0800, REH wrote:

> 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.

Unfortunately there is no portable way to deal with UTC in Ada.
Specifically for the problem of high resolution time stamping of data in a
distributed system there is nothing useful. Alas, but Ada 2005 will change
nothing here.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  parent reply	other threads:[~2005-11-09  8:32 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-08 16:04 Advice on Calendar.Time REH
2005-11-08 17:09 ` Larry Kilgallen
2005-11-08 17:30   ` REH
2005-11-08 17:59   ` Wilhelm Spickermann
2005-11-08 18:38     ` REH
2005-11-08 19:29       ` Martin Dowie
2005-11-08 20:05         ` REH
2005-11-08 22:00           ` Martin Dowie
2005-11-08 23:02             ` REH
2005-11-08 22:09           ` Wilhelm Spickermann
2005-11-08 22:13             ` REH
2005-11-09  5:23               ` Wilhelm Spickermann
2005-11-09  7:00               ` Martin Dowie
2005-11-09  3:16       ` Jeffrey R. Carter
2005-11-09  1:36   ` Keith Thompson
2005-11-13 14:15     ` Jacob Sparre Andersen
2005-11-13 21:37       ` Keith Thompson
2005-11-09  0:23 ` Stephen Leake
2005-11-09  8:32 ` Dmitry A. Kazakov [this message]
2005-11-09 19:37 ` brian.b.mcguinness
2005-11-09 21:45   ` brian.b.mcguinness
2005-12-01  0:24   ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox