<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Get Your Leap Year Calculation Right</title>
	<atom:link href="http://diovo.com/2008/03/get-your-leap-year-calculation-right/feed/" rel="self" type="application/rss+xml" />
	<link>http://diovo.com/2008/03/get-your-leap-year-calculation-right/</link>
	<description>Startups, Programming and stuff...</description>
	<lastBuildDate>Wed, 08 Feb 2012 03:39:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Niyaz PK</title>
		<link>http://diovo.com/2008/03/get-your-leap-year-calculation-right/comment-page-1/#comment-667</link>
		<dc:creator>Niyaz PK</dc:creator>
		<pubDate>Mon, 07 Jul 2008 04:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.diovo.com/?p=89#comment-667</guid>
		<description>Thanks Lyman. Corrected.

WhatWhat,
What we enjoy now in our lifetime are the choices made by people hundreds of years ago.</description>
		<content:encoded><![CDATA[<p>Thanks Lyman. Corrected.</p>
<p>WhatWhat,<br />
What we enjoy now in our lifetime are the choices made by people hundreds of years ago.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WhatWhat</title>
		<link>http://diovo.com/2008/03/get-your-leap-year-calculation-right/comment-page-1/#comment-666</link>
		<dc:creator>WhatWhat</dc:creator>
		<pubDate>Fri, 18 Apr 2008 15:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.diovo.com/?p=89#comment-666</guid>
		<description>&quot;There is a chance that the software you write may survive 400 years.&quot; .... yeah, that is true.....but wtf would i care?  its 400!!!! years later!!!!</description>
		<content:encoded><![CDATA[<p>&#8220;There is a chance that the software you write may survive 400 years.&#8221; &#8230;. yeah, that is true&#8230;..but wtf would i care?  its 400!!!! years later!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lyman</title>
		<link>http://diovo.com/2008/03/get-your-leap-year-calculation-right/comment-page-1/#comment-665</link>
		<dc:creator>Lyman</dc:creator>
		<pubDate>Thu, 10 Apr 2008 21:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.diovo.com/?p=89#comment-665</guid>
		<description>You may want to correct this.  Last time I checked, a statement like:

year % 4;

will return 0, 1, 2, or 3.  This would mean that 3 out of every 4 years is a leapyear in your code.

What you probably meant was:

isLeap = (year % 4 == 0) ...

the &#039;% 100&#039; and &#039;% 400&#039; expressions are incorrect in the same way as well.

Thanks.

Lyman</description>
		<content:encoded><![CDATA[<p>You may want to correct this.  Last time I checked, a statement like:</p>
<p>year % 4;</p>
<p>will return 0, 1, 2, or 3.  This would mean that 3 out of every 4 years is a leapyear in your code.</p>
<p>What you probably meant was:</p>
<p>isLeap = (year % 4 == 0) &#8230;</p>
<p>the &#8216;% 100&#8242; and &#8216;% 400&#8242; expressions are incorrect in the same way as well.</p>
<p>Thanks.</p>
<p>Lyman</p>
]]></content:encoded>
	</item>
</channel>
</rss>

