comp.lang.ada
 help / color / mirror / Atom feed
From: Marius Amado Alves <amado.alves@netcabo.pt>
To: comp.lang.ada@ada-france.org
Subject: Re: ada calendar
Date: Sat, 06 Dec 2003 15:08:53 +0000
Date: 2003-12-06T15:08:53+00:00	[thread overview]
Message-ID: <mailman.30.1070723339.31149.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <ci9Ab.34439$_M.151549@attbi_s54>

On Sat, 2003-12-06 at 00:21, tmoran@acm.org wrote:
> > T := T + 7 * 24 * 60 * 60.0
> "The implementation of type Duration shall allow representation of
> time intervals (both positive and negative) up to at least 86400
> seconds (one day);" ARM 9.6(27)  So "7 * 24 * 60 * 60.0" may or
> may not work.

Sure, but T by definition is something that spans a week or more, so a
'proper' type is expected here *by design*, no?

(And I seem to remember there is a longer duration type somewhere in the
standard. Some Ada.Real_Time package or some such.)




  reply	other threads:[~2003-12-06 15:08 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-05 21:00 ada calendar shoko
2003-12-05 22:34 ` Stephen Leake
2003-12-06  0:11   ` Nick Roberts
2003-12-08  7:49     ` Reinert Korsnes
2003-12-09  7:40       ` tmoran
2003-12-09 15:59         ` Nick Roberts
2003-12-10  8:16           ` Robert I. Eachus
2003-12-10 12:27             ` Thomas Wolf
2003-12-18 19:03               ` Randy Brukardt
2003-12-05 22:55 ` tmoran
2003-12-06  0:01   ` Marius Amado Alves
2003-12-06  0:21     ` tmoran
2003-12-06 15:08       ` Marius Amado Alves [this message]
2003-12-06 16:10 ` David C. Hoos
  -- strict thread matches above, loose matches on Subject: below --
2003-12-06 15:53 shoko
2003-12-06 17:01 ` Marius Amado Alves
2003-12-08 19:22   ` Pascal Obry
2003-12-09  4:48     ` Nick Roberts
2003-12-09 13:23       ` Wes Groleau
2003-12-07  2:49 ` Jeffrey Carter
2003-12-07 12:36   ` Duncan Sands
replies disabled

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