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-28 22:49:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Ada, calendar, and daylight savings References: <3BDCEEFF.10409@acm.org> X-Newsreader: Tom's custom newsreader Message-ID: <3_6D7.85008$gT6.44086716@news1.rdc1.sfba.home.com> Date: Mon, 29 Oct 2001 06:49:35 GMT NNTP-Posting-Host: 24.7.82.199 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 1004338175 24.7.82.199 (Sun, 28 Oct 2001 22:49:35 PST) NNTP-Posting-Date: Sun, 28 Oct 2001 22:49:35 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:15328 Date: 2001-10-29T06:49:35+00:00 List-Id: > 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.