[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: please verify
From: |
Pádraig Brady |
Subject: |
Re: please verify |
Date: |
Tue, 06 Oct 2009 15:57:31 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Philip Rowlands wrote:
> On Mon, 5 Oct 2009, Chandan Kumar wrote:
>
>> I am getting some faults while doing CAL command,
>
> cal is not part of GNU coreutils.
>
>> i.e. i am getting some leap years in case of non-leap years i.e. the
>> years like 1000,500,1500,1700 etc
>
> 1700 is a leap year, and leap years predating 1582 (the adoption of the
> Gregorian Calendar) depend which calendar you're talking about.
The Gregorian calendar was adopted at various times.
`cal` assumes the British empire (including eastern US), so 1752:
http://en.wikipedia.org/wiki/Gregorian_calendar
Thus 1700 is a leap year as it uses the old Julian rule of divisible by 4
cheers,
Pádraig.