In my app (c#) I need to add n
days to today's date. I know that I can use DateTime.AddDays(n)
method, and this method works fine. But in my situation I want to add only working days (or only "Mondays" and "Fridays" or any other sets).
Maybe exist any default methods to calculate such type of logic.
Test data:
Date: Today (24-jun-2014).
Days to add: 10
Days type: Business days (Mn-Fr)
Answer: 8-july-2014