comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: Ada, calendar, and daylight savings
Date: 28 Oct 2001 17:53:24 -0600
Date: 2001-10-28T17:53:24-06:00	[thread overview]
Message-ID: <nAPtT5l2SwNc@eisner.encompasserve.org> (raw)
In-Reply-To: 3BDC97CE.8070304@acm.org

In article <3BDC97CE.8070304@acm.org>, Corey Minyard <minyard@acm.org> writes:
> I've been looking at calendar issues in Ada, I'm trying to write a 
> complete calendar package for Ada.  I'm trying to understand how 
> daylight savings works in Ada.Calendar.
> 
> An average day has 86_400 seconds (24 * 3600).  However, the day where 
> daylight savings time is activated would seem to have 82_800 seconds (23 
> * 3600) and the day where daylight savings time is deactivated, as just 
> happened in the US, would seem to have 90_000 seconds (25 * 3600).

If you choose to reset your clock in response to legislative initiatives,
you should reset your Ada calendar as well.

Daylight savings time is just a manipulation of a time zone, and time
zones are outside the Ada Calendar package, aren't they ?



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