comp.lang.ada
 help / color / mirror / Atom feed
From: Al Christians <achrist@easystreet.com>
Subject: Re: Ada, calendar, and daylight savings
Date: Mon, 29 Oct 2001 21:41:57 -0800
Date: 2001-10-29T21:41:57-08:00	[thread overview]
Message-ID: <3BDE3DA5.88C5D1A8@easystreet.com> (raw)
In-Reply-To: 9rl2s2$u9eai$1@ID-25716.news.dfncis.de

Nick Roberts wrote:
> 
> My suggestion is as follows:
> 
> package Ada.Calendar.Worldwide is
> 
>    type Zoned_Time is private;
>    -- This type includes the offset from UTC with the actual time.
> 
>    type Time_Zone_Offset is delta 30*60.0 range -12*60*60.0 .. +12*60*60.0;
>    -- An offset from UTC, in seconds, as half-hour intervals from -12 to
>    -- +12 hours. Localtime = TimeUTC + offset.
> 

IIRC, and if this is one thing that they haven't changed since I was
a kid, there are some places that have more than 12 hours difference
from UTC.  That's local standard time.  Maybe more if you allow 
that daylight or double daylight time might apply in such places.


Al



      reply	other threads:[~2001-10-30  5: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
2001-10-30  2:19           ` Nick Roberts
2001-10-30  5:41             ` Al Christians [this message]
replies disabled

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