From: sjw <simon.j.wright@mac.com>
Subject: Re: Platform independent calendar
Date: Sun, 7 Dec 2008 23:17:23 -0800 (PST)
Date: 2008-12-07T23:17:23-08:00 [thread overview]
Message-ID: <efca3dcb-7767-4dc9-9bcc-8e0f43133e76@f13g2000yqj.googlegroups.com> (raw)
In-Reply-To: 5pZ_k.470338$yE1.89079@attbi_s21
On Dec 7, 11:56 pm, "Jeffrey R. Carter"
<spam.jrcarter....@spam.acm.org> wrote:
> Mike H wrote:
> > I am working (solo) on a signalling related application for a UK
> > preserved railway. The system needs to be as near to totally platform
> > independent as possible. As I see it, this rules out use of package
> > Calendar.
>
> > Rather than re-invent a wheel, I would prefer to use a pre-existing
> > solution and would be grateful for suggestions.
>
> You should probably use Ada.Real_Time rather than Ada.Calendar for such an
> application.
At least Ada.Calendar refers to externally-visible time (even though
there may be problems related to eg time zones which are not likely to
be a bother in Mike's application).
I would have thought Real_Time had even less applicability in a
distributed system than Calendar. Real_Time doesn't refer to real time
such as you might read on your watch, it's related to hard real time
control systems; are your signal requirements like that?
In (older?) GNATs, Real_Time and Calendar were the same, I think this
may have changed now (hope so, cos it meant that Real_Time might not
be monotonic).
If you never let the OS change its time sync, Calendar would do just
fine.
next prev parent reply other threads:[~2008-12-08 7:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-07 15:43 Platform independent calendar Mike H
2008-12-07 16:02 ` RasikaSrinivasan
2008-12-07 17:40 ` Mike H
2008-12-07 19:38 ` Gene
2008-12-07 17:14 ` Per Sandberg
2008-12-07 18:06 ` sjw
2008-12-07 19:15 ` Dmitry A. Kazakov
2008-12-07 22:26 ` Maciej Sobczak
2008-12-08 8:36 ` Dmitry A. Kazakov
2008-12-07 23:56 ` Jeffrey R. Carter
2008-12-08 0:15 ` Mike H
2008-12-08 2:04 ` Jeffrey R. Carter
2008-12-08 11:46 ` Mike H
2008-12-08 7:17 ` sjw [this message]
2008-12-08 8:46 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox