<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>web development helpdesk &#187; calendar</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/calendar/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Sun, 17 Jul 2011 12:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Zeller&#8217;s Congruence in Java</title>
		<link>http://helpdesk.objects.com.au/java/zellers-congruence-in-java?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zellers-congruence-in-java</link>
		<comments>http://helpdesk.objects.com.au/java/zellers-congruence-in-java#comments</comments>
		<pubDate>Fri, 19 Nov 2010 07:04:55 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[algorithm]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[congruence]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[gregorian]]></category>
		<category><![CDATA[zeller]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1644</guid>
		<description><![CDATA[You can use the Calendar class to get the day of the week for a particular date. But if you&#8217;re after an algorithm to do the same then Zeller&#8217;s congruence may be of interest to you. Zeller&#8217;s congruence is an algorithm devised by Christian Zeller to calculate the day of the week for any Julian [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/zellers-congruence-in-java/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display a month as a calendar</title>
		<link>http://helpdesk.objects.com.au/java/display-a-month-as-a-calendar?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=display-a-month-as-a-calendar</link>
		<comments>http://helpdesk.objects.com.au/java/display-a-month-as-a-calendar#comments</comments>
		<pubDate>Tue, 27 Jul 2010 01:45:38 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[month]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1548</guid>
		<description><![CDATA[The Calendar class can be used to generate a simple calendar display. private static void showMonth(Calendar cal) { int month = cal.get(Calendar.MONTH); int firstDayOfWeek = cal.getFirstDayOfWeek(); // Display day names as headers cal.set(Calendar.DAY_OF_WEEK, cal.getFirstDayOfWeek()); for (int i=0; i&#60;7; i++) { System.out.print(cal.getDisplayName(Calendar.DAY_OF_WEEK, Calendar.SHORT, Locale.getDefault())); System.out.print(&#34; &#34;); cal.add(Calendar.DATE, 1); } System.out.println(); // Display dates in month cal.set(Calendar.DATE, [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/display-a-month-as-a-calendar/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Calendar class to get localized day names</title>
		<link>http://helpdesk.objects.com.au/java/use-calendar-class-to-get-localized-day-names?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=use-calendar-class-to-get-localized-day-names</link>
		<comments>http://helpdesk.objects.com.au/java/use-calendar-class-to-get-localized-day-names#comments</comments>
		<pubDate>Tue, 27 Jul 2010 01:38:38 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[day]]></category>
		<category><![CDATA[Locale]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1545</guid>
		<description><![CDATA[You can use the getDisplayName() in the Calendar class to get a localized (according to Locale) string for any of the Calendar fields. For example to get the day name you can use the following: Calendar cal = Calendar.getInstance(); String day = cal.getDisplayName(Calendar.DAY_OF_WEEK, Calendar.LONG, Locale.getDefault()) If you&#8217;re looking for an algorithm to get the day [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/use-calendar-class-to-get-localized-day-names/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I add a specified number of minutes to a Java Date?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-minutes-to-a-java-date?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-add-a-specified-number-of-minutes-to-a-java-date</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-minutes-to-a-java-date#comments</comments>
		<pubDate>Sat, 12 Sep 2009 23:12:58 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[minutes]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1196</guid>
		<description><![CDATA[The Calendar class can be used to do a variety of date arithmetic Calendar cal = Calendar.getInstance(); cal.setTime(date); cal.add(Calendar.MINUTE, numberOfMinutes); date = cal.getTime(); Related posts: How do I add a specified number of hours to a Java Date? The Calendar class can be used to do a variety... How do I add a specified number [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-minutes-to-a-java-date/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I add a specified number of months to a Java Date?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-months-to-a-java-date?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-add-a-specified-number-of-months-to-a-java-date</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-months-to-a-java-date#comments</comments>
		<pubDate>Sat, 12 Sep 2009 23:12:10 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[date]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-months-to-a-java-date</guid>
		<description><![CDATA[The Calendar class can be used to do a variety of date arithmetic Calendar cal = Calendar.getInstance(); cal.setTime(date); cal.add(Calendar.MONTH, numberOfMonths); date = cal.getTime(); Related posts: How do I add a specified number of hours to a Java Date? The Calendar class can be used to do a variety... How do I add a specified number [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-months-to-a-java-date/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I add a specified number of days to a Java Date?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-days-to-a-java-date?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-add-a-specified-number-of-days-to-a-java-date</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-days-to-a-java-date#comments</comments>
		<pubDate>Sat, 12 Sep 2009 23:10:51 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[date]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1191</guid>
		<description><![CDATA[The Calendar class can be used to do a variety of date arithmetic Calendar cal = Calendar.getInstance(); cal.setTime(date); cal.add(Calendar.DATE, numberOfDays); date = cal.getTime(); Related posts: How do I add a specified number of hours to a Java Date? The Calendar class can be used to do a variety... How do I add a specified number [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-days-to-a-java-date/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a Date for a specific day</title>
		<link>http://helpdesk.objects.com.au/java/how-to-create-a-date-for-a-specific-day?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-create-a-date-for-a-specific-day</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-create-a-date-for-a-specific-day#comments</comments>
		<pubDate>Mon, 03 Aug 2009 01:00:48 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[GregorianCalendar]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1118</guid>
		<description><![CDATA[All the constructors and methods of the Date class that allow you to set the date value are deprecated so how do we set a Date instance to the date we need it to be. Answer is to use the Calendar class and use the various set() methods to set the date required. Once you [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-create-a-date-for-a-specific-day/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get the timezone offset for a specific date?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-get-the-timezone-offset-for-a-specific-date?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-the-timezone-offset-for-a-specific-date</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-get-the-timezone-offset-for-a-specific-date#comments</comments>
		<pubDate>Wed, 01 Apr 2009 01:01:47 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[timezone]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=860</guid>
		<description><![CDATA[The TimeZone class has a getOffset() method that will return the offset for a specified date. For example to get the timezone offset for today you would use the following: Date today = new Date(); TimeZone tz = TimeZone.getDefault(); long offset = tz.getOffset(today); Related posts: How to create a Date for a specific day All [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-get-the-timezone-offset-for-a-specific-date/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I add a specified number of hours to a Java Date?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-hours-to-a-java-date?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-add-a-specified-number-of-hours-to-a-java-date</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-hours-to-a-java-date#comments</comments>
		<pubDate>Mon, 13 Oct 2008 00:37:34 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[date]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=448</guid>
		<description><![CDATA[The Calendar class can be used to do a variety of date arithmetic Calendar cal = Calendar.getInstance(); cal.setTime(date); cal.add(Calendar.HOUR, numberOfHours); date = cal.getTime(); Related posts: How do I add a specified number of days to a Java Date? The Calendar class can be used to do a variety... How do I add a specified number [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-add-a-specified-number-of-hours-to-a-java-date/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can I iterate through all dates in a range?</title>
		<link>http://helpdesk.objects.com.au/java/how-can-i-iterate-through-all-dates-in-a-range?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-can-i-iterate-through-all-dates-in-a-range</link>
		<comments>http://helpdesk.objects.com.au/java/how-can-i-iterate-through-all-dates-in-a-range#comments</comments>
		<pubDate>Wed, 01 Oct 2008 12:23:15 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[iterator]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=329</guid>
		<description><![CDATA[The following custom iterator allows iteration through a date range. import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.Iterator; import java.util.Map; public class DateIterator implements Iterator&#60;Date&#62;, Iterable&#60;Date&#62; { private Calendar end = Calendar.getInstance(); private Calendar current = Calendar.getInstance(); public DateIterator(Date start, Date end) { this.end.setTime(end); this.end.add(Calendar.DATE, -1); this.current.setTime(start); this.current.add(Calendar.DATE, -1); } public boolean hasNext() { return [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-can-i-iterate-through-all-dates-in-a-range/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

