<?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 versus Daylight savings time</title>
	<atom:link href="http://www.thunderguy.com/semicolon/2003/11/18/java-versus-daylight-savings-time/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thunderguy.com/semicolon/2003/11/18/java-versus-daylight-savings-time/</link>
	<description>Software, the Internet and you.</description>
	<pubDate>Fri, 08 Aug 2008 01:20:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Asim Masood</title>
		<link>http://www.thunderguy.com/semicolon/2003/11/18/java-versus-daylight-savings-time/#comment-50389</link>
		<dc:creator>Asim Masood</dc:creator>
		<pubDate>Thu, 27 Mar 2008 20:15:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050422/java-versus-daylight-savings-time/#comment-50389</guid>
		<description>creationCal and todayCal are GregorianCalendar objects</description>
		<content:encoded><![CDATA[<p>creationCal and todayCal are GregorianCalendar objects</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asim Masood</title>
		<link>http://www.thunderguy.com/semicolon/2003/11/18/java-versus-daylight-savings-time/#comment-50388</link>
		<dc:creator>Asim Masood</dc:creator>
		<pubDate>Thu, 27 Mar 2008 20:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050422/java-versus-daylight-savings-time/#comment-50388</guid>
		<description>Use something like this:
createTime = creationCal.getTimeInMillis() + creationCal.getTimeZone().getOffset(creationCal.getTimeInMillis());

todayTime = todayCal.getTimeInMillis() + todayCal.getTimeZone().getOffset(todayCal.getTimeInMillis());

diff = todayTime - createTime;
days = diff / MILLISECONDS_PER_DAY;

The offset piece takes care of this problem</description>
		<content:encoded><![CDATA[<p>Use something like this:<br />
createTime = creationCal.getTimeInMillis() + creationCal.getTimeZone().getOffset(creationCal.getTimeInMillis());</p>
<p>todayTime = todayCal.getTimeInMillis() + todayCal.getTimeZone().getOffset(todayCal.getTimeInMillis());</p>
<p>diff = todayTime - createTime;<br />
days = diff / MILLISECONDS_PER_DAY;</p>
<p>The offset piece takes care of this problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GMAN</title>
		<link>http://www.thunderguy.com/semicolon/2003/11/18/java-versus-daylight-savings-time/#comment-50110</link>
		<dc:creator>GMAN</dc:creator>
		<pubDate>Wed, 26 Mar 2008 19:40:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050422/java-versus-daylight-savings-time/#comment-50110</guid>
		<description>I am facing problem while setting daylight savings in my pc. While running my application it shows system time. but not reflected US,Canada Estern time(5.00).
I used Java Calander and Date for display timing in my application with JDK 1.5

For US,CANADA it shows 1 Hr behind and for other region it shows correct time.
please clarify</description>
		<content:encoded><![CDATA[<p>I am facing problem while setting daylight savings in my pc. While running my application it shows system time. but not reflected US,Canada Estern time(5.00).<br />
I used Java Calander and Date for display timing in my application with JDK 1.5</p>
<p>For US,CANADA it shows 1 Hr behind and for other region it shows correct time.<br />
please clarify</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kumaresan</title>
		<link>http://www.thunderguy.com/semicolon/2003/11/18/java-versus-daylight-savings-time/#comment-6020</link>
		<dc:creator>Kumaresan</dc:creator>
		<pubDate>Tue, 03 Oct 2006 10:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.thunderguy.com/plusplus/20050422/java-versus-daylight-savings-time/#comment-6020</guid>
		<description>ye man, we know this is a problem, do you have any recomendations to fix these problem</description>
		<content:encoded><![CDATA[<p>ye man, we know this is a problem, do you have any recomendations to fix these problem</p>
]]></content:encoded>
	</item>
</channel>
</rss>
