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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b1850e397df49d95 X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: RE: How to convert an Fixed_Point to to an Integer ? Date: 1996/12/23 Message-ID: <1996Dec23.072835.1@eisner>#1/1 X-Deja-AN: 205581452 x-nntp-posting-host: eisner.decus.org references: <01bbf058$cbdbf980$LocalHost@jerryware> x-nntp-posting-user: KILGALLEN x-trace: 851344188/1407 organization: LJK Software newsgroups: comp.lang.ada Date: 1996-12-23T00:00:00+00:00 List-Id: In article <01bbf058$cbdbf980$LocalHost@jerryware>, "Jerry van Dijk" writes: > The question really is: how do I convert an Ada.Calendar.Time (ie a > Duration, ie a ordinary fixed_point type) to an Integer representing > the nearest number of seconds. I think you may have the question wrong then. Looking in 9.6 (10) of the Ada 95 standard, I see no indication that Ada.Calendar.Time is a Duration. In fact, Ada.Calendar.Time seems to be specified as "private", which should mean that except for code within Ada.Calendar or its children, there is no hope of converting a value of type Ada.Calendar.Time to anything else other than by using features provided for conversion by Ada.Calendar (there seem to be several). Larry Kilgallen P.S. I have this problem in society too. I tell businesses that some personal information is private, and they say "We understand, but tell us. You can trust us." Right !!! The root concept is that private means I am only telling family.