comp.lang.ada
 help / color / mirror / Atom feed
From: Corey Minyard <minyard@acm.org>
Subject: Re: Ada, calendar, and daylight savings
Date: Mon, 29 Oct 2001 05:53:30 GMT
Date: 2001-10-29T05:53:30+00:00	[thread overview]
Message-ID: <3BDCEEFF.10409@acm.org> (raw)
In-Reply-To: dn4D7.84157$gT6.43635894@news1.rdc1.sfba.home.com

I won't argue about the goofiness of our time system, since I can't do 
anything about that :-).

Hopefully, missiles in flight are using UTC.  It makes no sense to use 
anything else.  However, you have no portable way of finding UTC in Ada. 
If not a design error, I would consider that a good candidate for future 
enhancement.

-Corey

tmoran@acm.org wrote:

>>The "Time" type in Ada.Calendar is fundamentally a poor design.  The
>>only reasonable use of Calendar in Ada is for inexact, convenient
>>"match the wall clock" use.
>>
>   The only reason Ada.Calendar.Clock would not normally be monotonic
> is if some human decides so.  A missile during flight does not
> normally worry about time zones.  If someone creates a file, then
> sets back the clock and creates another file (or programs his
> computer to set back the clock), that's hardly a design error
> in Ada.  It would make more sense to call it a design error that
> wall clocks don't read in UTC, but need to be adjusted when you
> move, or twice a year even if you don't move.  Now *that's* goofy.
> 





  reply	other threads:[~2001-10-29  5:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-28 23:41 Ada, calendar, and daylight savings Corey Minyard
2001-10-28 23:53 ` Larry Kilgallen
2001-10-29  3:44   ` Corey Minyard
2001-10-29 10:17     ` Larry Kilgallen
2001-10-29 14:02       ` Corey Minyard
2001-10-29 14:35     ` Marin David Condic
2001-10-29  2:34 ` Steven Deller
2001-10-29  3:51   ` tmoran
2001-10-29  5:53     ` Corey Minyard [this message]
2001-10-29  6:49       ` tmoran
2001-10-29 10:21       ` Larry Kilgallen
2001-10-29 14:18         ` Corey Minyard
2001-10-29 23:15           ` tmoran
2001-10-30  2:07             ` Corey Minyard
2001-10-30  3:11               ` tmoran
2001-11-01  0:13                 ` Al Christians
2001-10-30 12:29               ` Larry Kilgallen
2001-10-29 14:48       ` Marin David Condic
2001-10-29 17:41         ` Corey Minyard
2001-10-30  2:19           ` Nick Roberts
2001-10-30  5:41             ` Al Christians
replies disabled

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