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,3c620ebecf1e16d4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!news-peer1!btnet-feed3!newreader.ukcore.bt.net!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: ADA.CALENDAR and midnight Date: Fri, 6 Aug 2004 05:59:20 +0000 (UTC) Organization: BT Openworld Message-ID: References: <2nelqrF21jaU1@uni-berlin.de> NNTP-Posting-Host: host81-154-184-224.range81-154.btcentralplus.com X-Trace: sparta.btinternet.com 1091771960 6749 81.154.184.224 (6 Aug 2004 05:59:20 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Fri, 6 Aug 2004 05:59:20 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Xref: g2news1.google.com comp.lang.ada:2592 Date: 2004-08-06T05:59:20+00:00 List-Id: "Brian May" wrote in message news:sa4smb1cgxp.fsf@snoopy.apana.org.au... > Thanks for the assistance. It appears I am getting confused between > differences in different languages... > > Going back to me to_string function, are there any packages (GPL > compatible licence preferred) for displaying formatted output? For > instance, my function would display "12:0:0", it would be preferred if > I could display it as "12:00:00". I have a package called > "Formatted_Output" by "Eugene Nonko, cm@liceum.secna.ru", but the > license is unclear. I am not convinced the approach taken is ideal > either. Ideally, I would prefer not to have to reinvent the wheel. Yup, check out Ada.Calendar.* esp Ada.Calender.Formatting. See http://www.martin.dowie.btinternet.co.uk/ These have the same API as the packages (hopefully) being made standard in Ada0Y Cheers -- Martin