comp.lang.ada
 help / color / mirror / Atom feed
From: rouillard@acm.org (Jacques Rouillard)
Subject: Re: How to convert an Fixed_Point to to an Integer ?
Date: 1996/12/30
Date: 1996-12-30T00:00:00+00:00	[thread overview]
Message-ID: <rouillard-3012961533380001@mac-rouillard.imt-mrs.fr> (raw)
In-Reply-To: 2safqwb3jc.fsf@hpodid2.eurocontrol.fr


In article <2safqwb3jc.fsf@hpodid2.eurocontrol.fr>, Steve Jones - JON
<jon@hpodid2.eurocontrol.fr> wrote:


> Each century is not a leap year (eg 1900 wasn't) but Millenia ARE leap years
> so 2000 will be one. This has nicely made writting calendar progs a little
> simpler as you don't have to do a /100 check for a limited span product
> (eg 1970 -> 2099).  I'd guess he stops at 2099 for just that reason. The check
> is quite simple but why add code when a comment suffices ?

Not only millenia but all centuries multiple of 400. 2000 will be the
second time it happens since the 1582 reform. 

Yours,

Jacques

--
Jacques Rouillard t33(0)491054342 f33(0)491700659 e rouillard@acm.org
USA http://vhdl.org/~rouillard   EU http://ismea.imt-mrs.fr/~rouillar
---------------------------------------------------------------------
    VOUS POUVEZ MAINTENANT PASSER SANS DANGER AU MESSAGE SUIVANT




  reply	other threads:[~1996-12-30  0:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-22  0:00 How to convert an Fixed_Point to to an Integer ? Jerry van Dijk
1996-12-23  0:00 ` Eric Miller
1996-12-23  0:00 ` Jerry van Dijk
1996-12-23  0:00 ` Larry Kilgallen
1996-12-23  0:00   ` Robert Dewar
1996-12-24  0:00     ` Jerry van Dijk
1996-12-24  0:00       ` Robert Dewar
1996-12-24  0:00         ` Norman H. Cohen
1996-12-24  0:00           ` Robert Dewar
1996-12-26  0:00             ` Keith Thompson
1996-12-26  0:00               ` Robert Dewar
1996-12-25  0:00         ` Jerry van Dijk
1996-12-25  0:00           ` Robert Dewar
1996-12-26  0:00             ` Norman H. Cohen
1996-12-27  0:00               ` Jerry van Dijk
1996-12-27  0:00                 ` Leap seconds in Unix time (was: Re: How to convert an Fixed_Point to to an Integer ?) Norman H. Cohen
1996-12-30  0:00               ` How to convert an Fixed_Point to to an Integer ? Mike Young
1996-12-30  0:00                 ` 2000 is a leap year (was: How to convert an Fixed_Point to to an Inte) Larry Kilgallen
1996-12-30  0:00                 ` How to convert an Fixed_Point to to an Integer ? Michael F Brenner
1996-12-31  0:00                 ` Keith Thompson
1997-01-02  0:00             ` 2000 is a leap year (was: How to convert an Fixed_Point to to an Inte) Mike Paley
1996-12-30  0:00 ` How to convert an Fixed_Point to to an Integer ? Steve Jones - JON
1996-12-30  0:00   ` Jacques Rouillard [this message]
1996-12-30  0:00 ` Steve Jones - JON
1996-12-30  0:00 ` Dave Barnes
replies disabled

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