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 17:41:23 GMT
Date: 2001-10-29T17:41:23+00:00	[thread overview]
Message-ID: <3BDD94E6.2030804@acm.org> (raw)
In-Reply-To: 9rjq8j$at5$1@nh.pace.co.uk

Marin David Condic wrote:

> Not necessarily. They might be using a time base with launch time being the
> start of the epoc. It depends on what the on-board computer has to do. If
> all it needs to know is that after N seconds of burn it should shut off the
> engines and coast, it really doesn't care if that is 10:30am EST or 23:40
> GMT. An Ada.Calendar package that required UTC for its implementation might
> just be the proverbial Brick S*** House in this application, which if this
> application required a validated compiler might preclude Ada from playing in
> that game.


Sorry, I meant a UTC-like time, which Ada.Real_Time sort of provides as 
long as you don't try to print it out.  But if you are guiding the 
missile with GPS, for instance, then you need to coordinate with GPS 
time from the satellites, at least for positional measurement.

I'm not saying that it needs to use UTC for implementation, but I think 
it at least needs an annex to be able to coordinate time in some way. 
And if it uses daylight savings and timezones, the program needs some 
way to get that information and do translations into different timezones.


> 
> Better that a more sophisticated time package be included as some kind of
> annex or optional package. That's why I suggested that it might make a good
> candidate for a standard component library.


I'm already working on it.  I was just wondering how it should interact 
with Ada.Calendar, and I think I know now.


-Corey




  reply	other threads:[~2001-10-29 17:41 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
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 [this message]
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