comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Ada, calendar, and daylight savings
Date: Mon, 29 Oct 2001 06:49:35 GMT
Date: 2001-10-29T06:49:35+00:00	[thread overview]
Message-ID: <3_6D7.85008$gT6.44086716@news1.rdc1.sfba.home.com> (raw)
In-Reply-To: 3BDCEEFF.10409@acm.org

> However, you have no portable way of finding UTC in Ada.  If not a design
> error, I would consider that a good candidate for future enhancement.
  Agreed, but for most programming it probably comes behind a portable way
to delete or rename files or scan a directory, for instance.  Certainly
    function To_UTC_Time (Local_Time : in Ada.Calendar.Time)
        return Ada.Calendar.Time;
would make sense in an Annex, so at least all implementations would look
the same.  But surely you then want to include function Day_Of_Week, leap
years, "+" and "-" with bigger than -86400.0 ..  86400.0 Duration and
adjusting for leap years and daylight savings, splitting into hours,
minutes, seconds, printing in various more or less standard forms, etc.



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