<?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: TimeRange object for C#</title>
	<atom:link href="http://www.webdevbros.net/2007/08/24/timerange-object-for-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevbros.net/2007/08/24/timerange-object-for-c/</link>
	<description>hot talk about web scripting</description>
	<pubDate>Wed, 07 Jan 2009 13:11:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Stonie</title>
		<link>http://www.webdevbros.net/2007/08/24/timerange-object-for-c/#comment-1374</link>
		<dc:creator>Stonie</dc:creator>
		<pubDate>Thu, 06 Dec 2007 02:58:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevbros.net/2007/08/24/timerange-object-for-c/#comment-1374</guid>
		<description>Thanks for the code, I found it usefull.

another example of use might be checking if the current time falls in a range:

        static void Main(string[] args)
        {
            TimeRange timeRange = new TimeRange();
            timeRange = TimeRange.Parse("13:00-14:00");

            bool IsNowInTheRange = timeRange.IsIn(DateTime.Now.TimeOfDay);
            Console.Write(IsNowInTheRange);

            Console.ReadLine();
        }


Cheers,
Stonie</description>
		<content:encoded><![CDATA[<p>Thanks for the code, I found it usefull.</p>
<p>another example of use might be checking if the current time falls in a range:</p>
<p>        static void Main(string[] args)<br />
        {<br />
            TimeRange timeRange = new TimeRange();<br />
            timeRange = TimeRange.Parse(&#8221;13:00-14:00&#8243;);</p>
<p>            bool IsNowInTheRange = timeRange.IsIn(DateTime.Now.TimeOfDay);<br />
            Console.Write(IsNowInTheRange);</p>
<p>            Console.ReadLine();<br />
        }</p>
<p>Cheers,<br />
Stonie</p>
]]></content:encoded>
	</item>
</channel>
</rss>
