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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,60a1f757e0f7f8ea,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.177.12 with SMTP id bg12mr1406514qab.0.1343314874493; Thu, 26 Jul 2012 08:01:14 -0700 (PDT) Received: by 10.66.88.5 with SMTP id bc5mr1797342pab.11.1343314874370; Thu, 26 Jul 2012 08:01:14 -0700 (PDT) Path: a15ni113198934qag.0!nntp.google.com!q21no3104737qas.0!news-out.google.com!p10ni64936613pbh.1!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!volia.net!news2.volia.net!feed-A.news.volia.net!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.straub-nv.de!news.swapon.de!news.glorb.com!news-out.readnews.com!transit3.readnews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: awdorrin Newsgroups: comp.lang.ada Subject: Ada.Calendar Question Date: Fri, 20 Jul 2012 10:18:22 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 192.91.171.36 Mime-Version: 1.0 X-Trace: posting.google.com 1342805139 9231 127.0.0.1 (20 Jul 2012 17:25:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 20 Jul 2012 17:25:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=192.91.171.36; posting-account=YkFdLgoAAADpWnfCBA6ZXMWTz2zHNd0j User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-20T10:18:22-07:00 List-Id: I have been looking at the Ada.Calendar and Ada.Real_Time packages, trying to update some old Ada code, which interfaces to C. How do I access the 'Conversion_Operations' package defined within Ada.Calendar? I have been trying to make use of: Conversion_Operations.To_Ada_Time( Unix_Time : Long-Integer ); Conversion_Operations.To_Struct_Timespec() and Conversion_Operations.To_Duration() I have seen the C specific versions in Ada.Calendar.Conversion, but those all use the Interfaces.C package types.