---
title: "CalendarRecurrence"
url: "https://reference.aspose.com/email/python-net/aspose.email.calendar.recurrences/calendarrecurrence/"
product: "Aspose.Email for Python via .NET API Reference"
---


## CalendarRecurrence class

The main class, represents an iCalendar recurrence.

The CalendarRecurrence type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|CalendarRecurrence()|Initializes a new instance of the [CalendarRecurrence](/email/python-net/aspose.email.calendar.recurrences/calendarrecurrence/) class.|
|CalendarRecurrence(pattern)|Initializes a new instance of the CalendarRecurrence class|
## Properties
| Name | Description |
| :- | :- |
|start_date|Gets or sets the start date.|
|end_date|Gets or sets the end date.|
|r_rules|Gets the R rules.|
|ex_rules|Gets the ex rules.|
|r_dates|Gets the R dates.|
|ex_dates|Gets the ex dates.|
## Methods
| Name | Description |
| :- | :- |
|generate_occurrences()|  |
|generate_occurrences(n_next_occurrences)|  |
|generate_occurrences(range_start, range_end)|  |
|generate_occurrences(range_start, range_end, n_next_occurrences)|  |
|fromi_calendar(pattern)|  |
|from_recurrence(xml_string)|  |
|toi_calendar()|  |
|equals(other)|  |

### See Also

* namespace [aspose.email.calendar.recurrences](/email/python-net/aspose.email.calendar.recurrences/)
* assembly [Aspose.Email](/email/python-net/)

