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-Thread: 103376,950fad2e9e9717b3 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Platform independent calendar References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <5pZ_k.470338$yE1.89079@attbi_s21> NNTP-Posting-Host: 173.16.158.68 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1228694209 173.16.158.68 (Sun, 07 Dec 2008 23:56:49 GMT) NNTP-Posting-Date: Sun, 07 Dec 2008 23:56:49 GMT Organization: AT&T ASP.att.net Date: Sun, 07 Dec 2008 23:56:49 GMT Xref: g2news2.google.com comp.lang.ada:3899 Date: 2008-12-07T23:56:49+00:00 List-Id: Mike H wrote: > I am working (solo) on a signalling related application for a UK > preserved railway. The system needs to be as near to totally platform > independent as possible. As I see it, this rules out use of package > Calendar. > > Rather than re-invent a wheel, I would prefer to use a pre-existing > solution and would be grateful for suggestions. You should probably use Ada.Real_Time rather than Ada.Calendar for such an application. If your platform independence requires passing values between heterogeneous processors or code from different compilers, I'd suggest you use a platform-independent representation, such as text. -- Jeff Carter "I'm a kike, a yid, a heebie, a hook nose! I'm Kosher, Mum! I'm a Red Sea pedestrian, and proud of it!" Monty Python's Life of Brian 77