
## CalendarCollection class

Represents a collection of [Calendar](/tasks/python-net/aspose.tasks/calendar/) objects.

The CalendarCollection type exposes the following members:
## Methods
| Name | Description |
| :- | :- |
|add(name)|Adds a new base calendar to this CalendarCollection object and returns added calendar.|
|add(name, base_calendar)|Adds a new base calendar to this CalendarCollection object and returns added calendar.|
|to_list()|Converts the CalendarCollection object to a list of [Calendar](/tasks/python-net/aspose.tasks/calendar/) objects.|
|get_by_uid(uid)|Returns a calendar with the specified UID.|
|get_by_name(name)|Returns a calendar with the specified name.|

### See Also

* namespace [aspose.tasks](/tasks/python-net/aspose.tasks/)
* assembly [Aspose.Tasks](/tasks/python-net/)

