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,7b7c1480b38d94c0 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: question on Time_Span Date: 1997/01/07 Message-ID: #1/1 X-Deja-AN: 208337885 references: <32D25068.17C3@ci-2.ci.pwr.wroc.pl> organization: New York University newsgroups: comp.lang.ada Date: 1997-01-07T00:00:00+00:00 List-Id: Zbig asks "I need to input/output valus of Time_Span variables declared in Ada.Real_time package. I know how to do it "indirectly" (via conversion from Duration type). Is it however possible to instantiate Ada.Text_io generic package to input/output Time_Span variables directly?" Of course not, you can only instantiate the generic packages in Text_IO on appropriate types, and Time_Span is a private type. The whole point is that you CANNOT assume anything at all about the representation of Time_Span.