
## GetIntersectionCalendar {#getintersectioncalendar}

Gets ICalendar instance which can be used to perform calculations on the intersection of work schedules of 2 calendars.

**Returns:** Implementation of ICalendar interface.

```cpp
GetIntersectionCalendar(const System::SharedPtr< Calendar > & calendar1, const System::SharedPtr< Calendar > & calendar2)
```

| Parameter | Description |
| --- | --- |
| calendar1 | First calendar. |
| calendar2 | Second calendar. |

