comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <marin.condic.auntie.spam@pacemicro.com>
Subject: Re: Leap Seconds
Date: Tue, 29 May 2001 10:43:36 -0400
Date: 2001-05-29T14:43:38+00:00	[thread overview]
Message-ID: <9f0ciq$itb$1@nh.pace.co.uk> (raw)
In-Reply-To: 3B0ED67B.E40A4E06@averstar.com

Further research into leap-seconds indicates that effectively, they are
unpredictable. The International Earth Rotation Service sort of announces
them whenever they think it is necessary and they can be positive or
negative. Hence, unless one has a lookup table for leap-seconds in the past,
it would not be possible to know when they existed. (The first happened in
1972) It is even more problematic if you are calculating some time in the
future since you don't know when they happen. (Customarily, leap-seconds are
announced in December or June, but they need not happen every year.)

While a handful of seconds over a number of years may not be a big deal in
most cases, I could easily imagine where they might make a difference.
(Especially when trying to sync up with something else that is using a time
base somewhere in the past and wondering if it counts the leap seconds and
you don't. Source A counts them, source B doesn't and you're in the middle
trying to figure out 'does anybody really know what time it is?')

More info at:

http://maia.usno.navy.mil/eo/leapsec.html

Now I'm wondering what I'm supposed to do with the requirement that I count
them??? :-)

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/


"Tucker Taft" <stt@averstar.com> wrote in message
news:3B0ED67B.E40A4E06@averstar.com...
>
> There is no requirement to support leap seconds.
> I would guess it is safe to say that leap seconds
> are *not* supported in any Ada implementation.
> There might even be ACATS/ACVC tests that are actively unfriendly
> to leap seconds, though I don't know for sure.
>






  reply	other threads:[~2001-05-29 14:43 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 [this message]
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
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