comp.lang.ada
 help / color / mirror / Atom feed
From: j.khaldi@oltrelinux.com
Subject: function Clock return Time; Time is a number, a string...?
Date: Tue, 06 Nov 2007 14:32:31 -0800
Date: 2007-11-06T14:32:31-08:00	[thread overview]
Message-ID: <1194388351.937058.41110@k79g2000hse.googlegroups.com> (raw)

In "package Ada.Calendar"..
function Clock return Time; // what is the type of Time here?
A string? A number? Something else?
"Time" has been declarated "private", this means it is untyped yet;
In other words, if I had to call the the function Year with the
argument Date, how should I do:
Date := The_Date; // for example: 11 dicember 2004
GetYear := Year(Date);
Thanks!

Jilani




             reply	other threads:[~2007-11-06 22:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06 22:32 j.khaldi [this message]
2007-11-06 23:21 ` function Clock return Time; Time is a number, a string...? anon
2007-11-07  0:15 ` Jeffrey Creem
2007-11-07 10:49 ` Georg Bauhaus
2007-11-07 10:56   ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox