<?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"
	>
<channel>
	<title>Comments on: Java WTF: Calendar vs Date</title>
	<atom:link href="http://www.theodorenguyen-cao.com/2008/03/06/java-wtf-calendar-vs-date/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theodorenguyen-cao.com/2008/03/06/java-wtf-calendar-vs-date/</link>
	<description>Personal blog of Theodore Nguyen-Cao</description>
	<pubDate>Fri, 21 Nov 2008 12:54:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>By: Theo</title>
		<link>http://www.theodorenguyen-cao.com/2008/03/06/java-wtf-calendar-vs-date/#comment-140</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Fri, 07 Mar 2008 18:33:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notedpath.com/2008/03/06/java-wtf-calendar-vs-date/#comment-140</guid>
		<description>check this out:
http://www.icu-project.org/docs/papers/international_calendars_in_java.html</description>
		<content:encoded><![CDATA[<p>check this out:<br />
<a href="http://www.icu-project.org/docs/papers/international_calendars_in_java.html" rel="nofollow">http://www.icu-project.org/docs/papers/international_calendars_in_java.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabrizio Giudici</title>
		<link>http://www.theodorenguyen-cao.com/2008/03/06/java-wtf-calendar-vs-date/#comment-139</link>
		<dc:creator>Fabrizio Giudici</dc:creator>
		<pubDate>Fri, 07 Mar 2008 17:07:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notedpath.com/2008/03/06/java-wtf-calendar-vs-date/#comment-139</guid>
		<description>JSR-310 is a clean up of Joda-Time that will hopefully be part of Java 7, so it would be a good idea to start using it. 

I didn't know that Date/Calendar was an IBM contribution. Do you have a reference? It would explain many things (even though I'm not saying Sun does always perfect thing, of course).</description>
		<content:encoded><![CDATA[<p>JSR-310 is a clean up of Joda-Time that will hopefully be part of Java 7, so it would be a good idea to start using it. </p>
<p>I didn&#8217;t know that Date/Calendar was an IBM contribution. Do you have a reference? It would explain many things (even though I&#8217;m not saying Sun does always perfect thing, of course).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whaley</title>
		<link>http://www.theodorenguyen-cao.com/2008/03/06/java-wtf-calendar-vs-date/#comment-138</link>
		<dc:creator>whaley</dc:creator>
		<pubDate>Fri, 07 Mar 2008 16:43:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notedpath.com/2008/03/06/java-wtf-calendar-vs-date/#comment-138</guid>
		<description>Joda-time is being used as the basis for the date/time/whatever api in jdk7.  David HM Spector, you are getting your wish.</description>
		<content:encoded><![CDATA[<p>Joda-time is being used as the basis for the date/time/whatever api in jdk7.  David HM Spector, you are getting your wish.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David HM Spector</title>
		<link>http://www.theodorenguyen-cao.com/2008/03/06/java-wtf-calendar-vs-date/#comment-137</link>
		<dc:creator>David HM Spector</dc:creator>
		<pubDate>Fri, 07 Mar 2008 16:21:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notedpath.com/2008/03/06/java-wtf-calendar-vs-date/#comment-137</guid>
		<description>Joda-time is great, however for anything that requires a Date or Calendar object you'll just wind up have to screw around with conversion back to Date and Calendar.  

Sun needs to have a flag day at some point and just throw out both Date and Calendar.  It's one of the single worst aspects of Java programming.</description>
		<content:encoded><![CDATA[<p>Joda-time is great, however for anything that requires a Date or Calendar object you&#8217;ll just wind up have to screw around with conversion back to Date and Calendar.  </p>
<p>Sun needs to have a flag day at some point and just throw out both Date and Calendar.  It&#8217;s one of the single worst aspects of Java programming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bhaskar</title>
		<link>http://www.theodorenguyen-cao.com/2008/03/06/java-wtf-calendar-vs-date/#comment-135</link>
		<dc:creator>bhaskar</dc:creator>
		<pubDate>Fri, 07 Mar 2008 15:42:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notedpath.com/2008/03/06/java-wtf-calendar-vs-date/#comment-135</guid>
		<description>If you need a decent time API in Java use joda-time. Seriously you will never go back to the JDK time API mess.</description>
		<content:encoded><![CDATA[<p>If you need a decent time API in Java use joda-time. Seriously you will never go back to the JDK time API mess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asd</title>
		<link>http://www.theodorenguyen-cao.com/2008/03/06/java-wtf-calendar-vs-date/#comment-134</link>
		<dc:creator>Asd</dc:creator>
		<pubDate>Fri, 07 Mar 2008 15:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notedpath.com/2008/03/06/java-wtf-calendar-vs-date/#comment-134</guid>
		<description>The Calendar code was "donated" by IBM. Accepting it was the worst decision in the history of Java.</description>
		<content:encoded><![CDATA[<p>The Calendar code was &#8220;donated&#8221; by IBM. Accepting it was the worst decision in the history of Java.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://www.theodorenguyen-cao.com/2008/03/06/java-wtf-calendar-vs-date/#comment-133</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Fri, 07 Mar 2008 05:46:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notedpath.com/2008/03/06/java-wtf-calendar-vs-date/#comment-133</guid>
		<description>I'm interested in hearing the Java API designers rationale on why they designed the Calendar API like this.  I understand the implementation. Don't you think it's kind of strange the Date class before/after takes a Date object and performs as expected, while the Calendar class's after/before takes any ol' Object AND only operates on other Calendar objects?</description>
		<content:encoded><![CDATA[<p>I&#8217;m interested in hearing the Java API designers rationale on why they designed the Calendar API like this.  I understand the implementation. Don&#8217;t you think it&#8217;s kind of strange the Date class before/after takes a Date object and performs as expected, while the Calendar class&#8217;s after/before takes any ol&#8217; Object AND only operates on other Calendar objects?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth</title>
		<link>http://www.theodorenguyen-cao.com/2008/03/06/java-wtf-calendar-vs-date/#comment-132</link>
		<dc:creator>Gareth</dc:creator>
		<pubDate>Fri, 07 Mar 2008 05:35:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notedpath.com/2008/03/06/java-wtf-calendar-vs-date/#comment-132</guid>
		<description>Taken from the javadocs

"if and only if when is a Calendar instance. Otherwise, the method returns false."</description>
		<content:encoded><![CDATA[<p>Taken from the javadocs</p>
<p>&#8220;if and only if when is a Calendar instance. Otherwise, the method returns false.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth</title>
		<link>http://www.theodorenguyen-cao.com/2008/03/06/java-wtf-calendar-vs-date/#comment-131</link>
		<dc:creator>Gareth</dc:creator>
		<pubDate>Fri, 07 Mar 2008 05:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.notedpath.com/2008/03/06/java-wtf-calendar-vs-date/#comment-131</guid>
		<description>Here is the code behind Calendar.before(Object when)

public boolean before(Object when) {
  return when instanceof Calendar &#38;&#38;
         getTimeInMillis() </description>
		<content:encoded><![CDATA[<p>Here is the code behind Calendar.before(Object when)</p>
<p>public boolean before(Object when) {<br />
  return when instanceof Calendar &amp;&amp;<br />
         getTimeInMillis()</p>
]]></content:encoded>
	</item>
</channel>
</rss>
