ludsoft

Results 5 comments of ludsoft

I've got a similar need where I need to combine 3 calendars to compute a given date + 40 open days, with an open day being open in all three...

@Natim, for the use case I describe, if there is an holiday in any calendar, it's an holiday in the joined calendar.

The first one is fine by me, I don't really need the title so I'm not sure I'm the one who should answer this question ;-).

@Natim: The function I'm really after is `add_working_days`, being able to get a jointed calendar and use this function to compute 40 business days after a given date. Getting the...

I have a first draft of what I'm thinking: ```python class JointAnyCalendar(Calendar): """ A joint Calendar that can combine multiple calendars. """ def __init__(self, calendar_list): self.calendar_list = calendar_list self._holidays =...