comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <marin.condic.auntie.spam@pacemicro.com>
Subject: Re: calander package
Date: Wed, 14 Mar 2001 09:47:33 -0500
Date: 2001-03-14T14:48:00+00:00	[thread overview]
Message-ID: <98o0b0$3c8$1@nh.pace.co.uk> (raw)
In-Reply-To: 3AAED192.1479@li.net

This might be a viable idea for a "semi-standard" add-on package to Ada.
However, one gripe: I think that the package ought to support Microseconds
since there are often times where this level of resolution is possible &
desirable. On systems where you don't have it, it just rounds up to whatever
resolution you do have. On that argument, one might even go so far as to ask
for representation of Nanoseconds, given that a 32 bit word could hold the
Nanoseconds in a Second. Except for specialized things, you're not likely to
get a clock resolution much better than that any time soon - otherwise I'd
ask for Attoseconds or something equally ridiculous! :-)

So perhaps a version of the package should be created that replaces
Milliseconds with Micro or Nanoseconds? (You definitely don't want to have
micro-within-milli. I've seen that done and it gets really confusing!)

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/

"Vincent Marciante" <marciant@li.net> wrote in message
news:3AAED192.1479@li.net...
> The original Booch.Calendar_Utilities could be considered.
>
> http://www.adapower.com/original_booch/
>
> Its spec follows.
>
<snip>
>     type Time is
>         record
>             The_Year        : Year;
>             The_Month       : Month;
>             The_Day         : Day;
>             The_Hour        : Hour;
>             The_Minute      : Minute;
>             The_Second      : Second;
>             The_Millisecond : Millisecond;
>         end record;






  reply	other threads:[~2001-03-14 14:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-13  0:04 calander package arcele
2001-03-13 14:24 ` Marin David Condic
2001-03-14 11:52   ` Mario Amado Alves
2001-03-13 15:52 ` Ted Dennison
2001-03-13 16:45   ` Marin David Condic
2001-03-13 18:52     ` Ted Dennison
2001-03-13 19:50       ` Marin David Condic
2001-03-13 21:47         ` Randy Brukardt
2001-03-13 22:32           ` Marin David Condic
2001-03-14  2:04           ` Vincent Marciante
2001-03-14 14:47             ` Marin David Condic [this message]
2001-03-15  0:23             ` Jeffrey Carter
2001-03-15 17:45               ` Marin David Condic
2001-03-16 16:54               ` Robert A Duff
2001-03-14  0:51         ` tmoran
2001-03-14 15:21           ` Marin David Condic
2001-03-15  1:39             ` Randy Brukardt
2001-03-15 17:55               ` Marin David Condic
2001-03-16 14:50                 ` Planned increment for package Datetime Mario Amado Alves
2001-03-14  2:19       ` calander package Jeffrey Carter
2001-03-14  8:33 ` Pascal Obry
replies disabled

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