From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2b151131f90050ab X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-29 09:41:23 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news2.rdc2.tx.home.com.POSTED!not-for-mail Message-ID: <3BDD94E6.2030804@acm.org> From: Corey Minyard User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.5+) Gecko/20011012 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada, calendar, and daylight savings References: <3BDCEEFF.10409@acm.org> <9rjq8j$at5$1@nh.pace.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 29 Oct 2001 17:41:23 GMT NNTP-Posting-Host: 24.7.109.109 X-Complaints-To: abuse@home.net X-Trace: news2.rdc2.tx.home.com 1004377283 24.7.109.109 (Mon, 29 Oct 2001 09:41:23 PST) NNTP-Posting-Date: Mon, 29 Oct 2001 09:41:23 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:15358 Date: 2001-10-29T17:41:23+00:00 List-Id: 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