NextWorkingDay including current day
Opened this issue · 1 comments
dotnetshadow commented
Great Library
I was wondering how you would go about solving the following issue.
Given a date, if it's a working day return it, else return the next working day.
EDIT I just looked at the source code, it seems NextWorkingDay
should do exactly what I'm after.
I agree with the comment made here:
#5
Suggesting that an overload would be be needed to determine if we would like to include the current date in the check for NextWorkingDay
Hrothval commented
I add "public DateTime NextWorkingDay(DateTime dt, int openDayAdd)", if openDayAdd is 1you don't have same day.