Business/Holiday date handling
<p>I'm looking for a C# class/library that works similarly to the Perl module <a href="http://search.cpan.org/dist/Date-Manip/" rel="nofollow"><code>Date::Manip</code></a> as far as business/holiday dates.  Using that module in Perl, I can pass it a date and find out whether it's a business day (ie, Mon-Fri) or a holiday.  Holidays are very simple to define in a config file (see <a href="http://search.cpan.org/dist/Date-Manip/lib/Date/Manip/Holidays.pod" rel="nofollow"><code>Date::Manip::Holidays</code></a>).  You can enter a 'fixed' date that applies to every year like:</p>

<pre><code>12/25                           = Christmas
</code></pre>

<p>or 'dynamic' dates for every year like:</p>

<pre><code>last Monday in May              = Memorial Day
</code></pre>

<p>or 'fixed' dates for a given year like:</p>

<pre><code>5/22/2010                       = Bob's Wedding
</code></pre>

<p>You can also pass in a date and get back the next/previous business day.</p>

<p>Does anyone know of anything like that in the C# world?  I've found a couple of things that implement parts of what I need (<a href="http://www.codeproject.com/KB/cs/busdatescalculation.aspx" rel="nofollow">http://www.codeproject.com/KB/cs/busdatescalculation.aspx</a> and <a href="http://www.codeproject.com/KB/dotnet/HolidayCalculator.aspx" rel="nofollow">http://www.codeproject.com/KB/dotnet/HolidayCalculator.aspx</a>) and I can pick them apart and make what I need.  But if someone else has already done that, why do it again?</p>

<p>Thanks!</p>

<p>Dave</p>
