From: Steve Jones - JON <jon@hpodid2.eurocontrol.fr>
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: <2spvzshybz.fsf@hpodid2.eurocontrol.fr> (raw)
In-Reply-To: 01bbf058$cbdbf980$LocalHost@jerryware
Dave Barnes <barnesd@it.postoffice.co.uk> writes:
>
> Steve Jones - JON wrote:
> >
> >
> > Each century is not a leap year (eg 1900 wasn't) but Millenia ARE leap years
> > so 2000 will be one.
> >
>
> Where has *this* come from?
>
> The rule is simply divisible by 4 except if a multiple of 100 when must be divisible by
> 400. So 1900 wasn't, 2000 will be and the year 3000 won't be a leap year (but I really
> don't give a damn about the last one).
Doh! Okay I got in horribly wrong... Bugger. But luckily the one time I
actually had to write some date type handling stuff I must have read
up on it rather than listening to the elves as the code works until INTEGER
runs out (in years both ways :) nothing like excess when being careful) so
for those planning to travel in Sheffield in the year 2400 you will be Okay:)
I hate being found to be stupid :(
The "rule" came from my imagination and a heavy christmas break :)
--
----------------------------------------------------------------------------
Steve Jones | "Atticus says that carring a gun is a sure
Eurocontrol Experimental Centre | way to get shot" -- Scout Finch in
| To Kill a Mocking Bird by Harper Lee
----------------------------------------------------------------------------
Do not add me to any commercial mailing lists, all unsolicted commercial
email will be billed at my current rate.
----------------------------------------------------------------------------
prev parent 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 ` Jerry van Dijk
1996-12-23 0:00 ` Eric Miller
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
1996-12-30 0:00 ` Dave Barnes
1996-12-30 0:00 ` Steve Jones - JON [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox