Algorithm to generate dates for business days given the range of dates
- by sonicoder
I'd like to be able to calculate the dates of business days (mon-fri) given two dates d1 and d2. However in some locales the business days are sat-wed or sun-thur.
Is there a facility in STL or C++ in general that allows for such a calculation?