I am preparing a class which calculates penalty for a library. For example: I have a book. I will return this book 12.11.2009. But I delay this return date. I returned the book on 30.11.2009. I will pay a penalty as money. How can I count (November 31 - November 12) on c#?
Penalty should be calculated for BUSINESS days only. That means my calculation should take account of weekends and national holidays.
<Holiday Date="25.11.2009"/>
<Holiday Date="26.11.2009"/>
<Holiday Date="27.11.2009"/>