comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <marin.condic.auntie.spam@pacemicro.com>
Subject: Re: Leap Seconds
Date: Fri, 1 Jun 2001 09:34:06 -0400
Date: 2001-06-01T13:34:08+00:00	[thread overview]
Message-ID: <9f85kg$eut$1@nh.pace.co.uk> (raw)
In-Reply-To: mailman.991382224.2673.comp.lang.ada@ada.eu.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2987 bytes --]

I don't know if you're getting all the posts to this thread, but I think if
you go back and re-read what I've said on the subject and what the original
problem is, you might have a better handle on what to address. Its already
been observed that you can't determine what the leap-seconds will be in the
future. The problem I had at hand was one where I don't have a network time
source or other sorts of data that would correct for leap-seconds. Your
comments are interesting but are not really addressing the problem. The
problem is one of computing seconds between two calendar dates (past or
future) and how to account for leap-seconds. If one has a clock available
that is correcting for leap-seconds, that's nice, but I don't. As far as I
can figure, there is no good answer to the problem except to know how many
leap-seconds actually occurred since their inception and there is no way to
know when they will occur in the future if your computations take you there.

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/


"Wilhelm Spickermann" <Wilhelm.Spickermann@t-online.de> wrote in message
news:mailman.991382224.2673.comp.lang.ada@ada.eu.org...
>
> On 31-May-01 Marin David Condic wrote:
> > O.K. See my other post above - I phrased my original statement badly.
You
> > are right that a measure of absolute seconds is going to remain
constant. I
> > was thinking with respect to computing those seconds relative to dates.
We
> > agree on a date/time to meet. You compute the seconds between now and
then
> > and I compute the seconds between now and then and we both delay N
seconds.
>
> Hmm, none of us can compute the number of seconds before the IERS has
> determined all the leap seconds in that time range. Once the leap seconds
or
> their absence are determined, we will get the same results.
>
> > Your computation involves leap-seconds and mine doesn't. We've got a
problem
> > in that one of us will be there early.
> >
> But a look on the next wall clock will show, who computed the wrong result
(we
> agreed upon a specific date and time). None of us will be early, if we
interpret
> the results of the computation correctly.
>
> The computation which includes leap seconds will compute the time
difference and
> the result can be used in a simple countdown clock or (hopefully) a delay
> statement. The computation has to be postponed until the necessary
information
> is available.
>
> The computation without leap seconds can be done at once but it doesn�t
compute
> a time difference. But the result can be compared to a POSIX clock, as
this type
> of "clock" jumps with every leap second inserted or omitted. The result is
> unusable for delay statements. (I hope at least no one wants "delay 1.0;"
to
> mean "don�t wait" if its execution happens to fall on a negative leap
second.)
>
> Wilhelm
>





  reply	other threads:[~2001-06-01 13:34 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-25 14:17 Leap Seconds Marin David Condic
2001-05-25 22:02 ` Tucker Taft
2001-05-29 14:43   ` Marin David Condic
2001-05-29 16:02     ` Ted Dennison
2001-05-29 16:46       ` Marin David Condic
2001-05-29 18:38         ` tmoran
2001-05-29 19:26           ` Marin David Condic
2001-05-30 18:20         ` Wilhelm Spickermann
2001-05-30 18:55           ` Marin David Condic
2001-05-30 23:16             ` Larry Kilgallen
2001-05-31  6:34             ` Joseph P Vlietstra
2001-05-31  9:27             ` Wilhelm Spickermann
2001-05-31 15:31               ` Marin David Condic
2001-06-01  7:55                 ` Wilhelm Spickermann
2001-06-01 13:34                   ` Marin David Condic [this message]
2001-06-01 15:24                     ` Wes Groleau
2001-06-01 16:18                       ` Marin David Condic
2001-06-01 20:28                         ` Wes Groleau
2001-06-04 13:54                           ` Marin David Condic
2001-06-04 16:05                             ` Wes Groleau
2001-06-04 16:15                               ` Marin David Condic
2001-05-31 16:53               ` OT: Relativity misunderstood Wes Groleau
2001-05-31 17:20                 ` Ted Dennison
2001-05-31 19:00                   ` Wes Groleau
2001-06-01  6:49                 ` Wilhelm Spickermann
2001-06-04 17:51                 ` [OT] Black holes for interstellar travel (Re: OT: Relativity misunderstood) Jacob Sparre Andersen
2001-06-05 14:07                   ` Wes Groleau
2001-05-30  0:42     ` Leap Seconds Arthur Evans Jr
2001-05-30 10:14       ` AG
2001-05-30 11:20       ` Larry Kilgallen
2001-05-31 16:34         ` Wes Groleau
2001-05-30 14:00       ` Marin David Condic
2001-05-30 15:33         ` Larry Kilgallen
2001-05-30 15:39           ` Marin David Condic
2001-05-31  2:01             ` Robert A Duff
2001-05-31  3:15               ` dale
2001-05-31  7:02               ` tmoran
2001-05-31 15:26               ` Marin David Condic
2001-05-31 16:39                 ` Paul Storm
2001-06-02  6:40                   ` Joseph P Vlietstra
2001-05-31 16:36         ` Wes Groleau
2001-05-31 18:12           ` Marin David Condic
2001-05-30 16:36       ` Darren New
replies disabled

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