From: Nick Roberts <nick.roberts@acm.org>
Subject: Re: ada calendar
Date: Tue, 09 Dec 2003 15:59:58 +0000
Date: 2003-12-09T15:59:58+00:00 [thread overview]
Message-ID: <br4ri5$28ukqo$1@ID-25716.news.uni-berlin.de> (raw)
In-Reply-To: <H%eBb.344362$275.1139897@attbi_s53>
tmoran@acm.org wrote:
>>Will this revision include definitions based on precise
>>description of movements of the Earth ? The rotation
>
> My understanding is that Ada.Calendar is basically a wall clock - it
> can be reset by the operator for Daylight Savings, leap seconds, clock
> skew, or whatever. It's the right thing to use for printing a date & time
> on a report, for instance. Ada.Real_Time has a monotonic clock so it's
> generally the right thing for elapsed time. Inserting a leap second for
> instance would cause the clock to run backwards one second, which would be
> illegal for Ada.Real_Time.Clock, but perfectly OK for Ada.Calendar.Clock
I think this is quite correct. The proposal does include minimal (very
minimal) time zone functionality, but I suspect this might be removed by
the ARG (or WG9), as being too horrible to contemplate.
[For one thing, it is only the rather obscure UT0 time system that is
actually based on movements of the Earth; UT1 corrects it for 'wobble'. UTC
is based on atomic clocks, and is corrected in steps of precisely 1 second
every now and then to bring it within 0.9 s of UT1. As for the all the
different time zones in use around the world, that is a deep mire where
only the very foolish or the very brave (or those who enjoy maintaining
huge databases) dare to tread.]
--
Nick Roberts
next prev parent reply other threads:[~2003-12-09 15:59 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-05 21:00 ada calendar shoko
2003-12-05 22:34 ` Stephen Leake
2003-12-06 0:11 ` Nick Roberts
2003-12-08 7:49 ` Reinert Korsnes
2003-12-09 7:40 ` tmoran
2003-12-09 15:59 ` Nick Roberts [this message]
2003-12-10 8:16 ` Robert I. Eachus
2003-12-10 12:27 ` Thomas Wolf
2003-12-18 19:03 ` Randy Brukardt
2003-12-05 22:55 ` tmoran
2003-12-06 0:01 ` Marius Amado Alves
2003-12-06 0:21 ` tmoran
2003-12-06 15:08 ` Marius Amado Alves
2003-12-06 16:10 ` David C. Hoos
-- strict thread matches above, loose matches on Subject: below --
2003-12-06 15:53 shoko
2003-12-06 17:01 ` Marius Amado Alves
2003-12-08 19:22 ` Pascal Obry
2003-12-09 4:48 ` Nick Roberts
2003-12-09 13:23 ` Wes Groleau
2003-12-07 2:49 ` Jeffrey Carter
2003-12-07 12:36 ` Duncan Sands
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox