rickar
rickar
That is the convention I went with, yes. The default is set to workdays being Monday through Friday and the default holiday sets match that. I was assuming that if...
Ah, living in the modern dystopia strikes again. ;-) v2 was released partially because I had made assumptions about how holidays on weekends were handled that turned out to be...
I was agreeing with you... aa.EasterSunday, aa.Pentecost, aa.XYZ, ... can all be added without affecting anyone. I'm just saying that changing ca.Holidays, nl.Holidays, etc. would be a breaking change and...
Thanks! Why would you use this over WorkHoursInRange or WorkdaysInRange?
Ok, reading this again it looks like it's a non-inclusive range? I think that's going to be confusing when compared to WorkdaysInRange. Is there a reason for the difference? If...
There's no built-in way to do that. You should be able to create a custom HolidayFn that returns Friday or Tuesday after checking if the original holiday is on Thursday...
Right. Each Holiday definition can only return one day per year so you would need to create something like TruthDay and SecondTruthDay. TruthDay would return the normal holiday every year...
Sure, pull requests are welcome. 😉
There's nothing to support that right now and I think that would require a lot of refactoring to handle. In the meantime, the best alternative I can think of is...
This kind of thing is what I was expecting BusinessCalendar.WorkdayFunc to be used for.