# system.kanoa.cmms.rruleToDates(rruleStr, startDate, maxResults)

Expands an RFC 5545 recurrence rule (RRULE) string into a concrete list of calendar dates, starting from a given date and capped at a maximum number of results. 
This is used to compute the concrete occurrence dates for a recurring work order schedule from its stored RRULE definition.

---
### Parameters
**rruleStr** `String`<br />
**startDate** `DateTime`<br />
**maxResults** `Integer`<br />

---
### Returns
**dateList** `list[datetime]`<br />

---
### Example
```python
rruleStr = "FREQ=WEEKLY;BYDAY=MO,WE,FR"
startDate = system.date.now()
maxResults = 10

dateList = system.kanoa.cmms.rruleToDates(rruleStr, startDate, maxResults)

for occurrenceDate in dateList:
	print occurrenceDate

>>>
Wed Jul 29 16:40:04 UTC 2026
Fri Jul 31 16:40:04 UTC 2026
Mon Aug 03 16:40:04 UTC 2026
Wed Aug 05 16:40:04 UTC 2026
Fri Aug 07 16:40:04 UTC 2026
Mon Aug 10 16:40:04 UTC 2026
Wed Aug 12 16:40:04 UTC 2026
Fri Aug 14 16:40:04 UTC 2026
Mon Aug 17 16:40:04 UTC 2026
Wed Aug 19 16:40:04 UTC 2026
>>> 
```
