Arghhh!

The challenges of an evolving test suite. :-)  My guess is that I can fix that 
using the same type of adjustment that I used for the month result, but it will 
be  a while before I get a chance to check it out, and this puzzle has 
surprised me more than once!

Thanks for catching that Joe.

Cheers, bob

On Sep 23, 2014, at 9:50 AM, Joe Bogner <[email protected]> wrote:

> bob, is this right?
> 
> 2014 1 1 age 2013 12 31
> 
> 1 0 1
> 
> 
> I would have expected 0 0 1 ?
> 
> On Tue, Sep 23, 2014 at 12:44 PM, robert therriault <[email protected]>
> wrote:
> 
>> Hi PA
>> 
>> I think that Raul's isleap takes this into account and does make 2000 the
>> leap year that it should be.
>> 
>> http://www.timeanddate.com/date/leapyear.html
>> 
>> Cheers, bob
>> 
>> On Sep 23, 2014, at 9:37 AM, PMA <[email protected]> wrote:
>> 
>>> Just in case, 2000 (divisible by 400) isn't a leap
>>> year either, though my Linux 'cal' claims it was.
>>> 
>>> PA
>>> 
>>> 
>>> Linda Alvord wrote:
>>>> Don, You bailed me out of this little glitch!  Linda i       U
>>>> 
>>>> -----Original Message-----
>>>> From: [email protected]
>>>> [mailto:[email protected]] On Behalf Of Don
>> Kelly
>>>> Sent: Monday, September 22, 2014 10:14 PM
>>>> To: [email protected]
>>>> Subject: Re: [Jprogramming] Weekend Puzzle - Age of Groundhog born 2002
>> 2 2
>>>> 
>>>> Fortunately, the use of "leap" is valid as long as one doesn't go back
>>>> past 1901 or ahead past 2099.
>>>> 
>>>> 1900 and 2100 aren't leap years (Fine tuning of the leap year
>> calculation ).
>>>> 
>>>> Don Kelly
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> 
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to