comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Ada, calendar, and daylight savings
Date: Mon, 29 Oct 2001 23:15:02 GMT
Date: 2001-10-29T23:15:02+00:00	[thread overview]
Message-ID: <WplD7.89301$gT6.45832730@news1.rdc1.sfba.home.com> (raw)
In-Reply-To: 3BDD6550.8020805@acm.org

> How are you going to do this in Ada?  You can't without using
> non-standard constructs.
  It seems to me your problem is with your compiler vendor's
implementation, not with the language.  The ARM 9.6(24) says
"... as appropriate to an implementation defined timezone; ..."
You want that timezone to be UTC.  Why not just replace the
package body Ada.Calendar that your compiler supplies, with a
different one that returns UTC for Clock?  (A long time ago
my compiler vendor's Clock used the MSDOS 55 ms tick, which
was much to gross for my problem.  So I replaced his Ada.Calendar
body with one that used the PC's 8253 timer chip.  Not only was
it much finer, but it was much faster than a system call, so
profiling speeded up substantially. :)



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