---
title: Calendar.RecurrenceRule
framework: foundation
role: symbol
role_heading: Structure
path: foundation/calendar/recurrencerule
---

# Calendar.RecurrenceRule

A rule which specifies how often an event should repeat in the future

## Declaration

```swift
struct RecurrenceRule
```

## Topics

### Type Aliases

- [Calendar.RecurrenceRule.Specification](foundation/calendar/recurrencerule/specification.md)
- [Calendar.RecurrenceRule.UnwrappedType](foundation/calendar/recurrencerule/unwrappedtype.md)
- [Calendar.RecurrenceRule.ValueType](foundation/calendar/recurrencerule/valuetype.md)

### Initializers

- [init(calendar:frequency:interval:end:matchingPolicy:repeatedTimePolicy:months:daysOfTheYear:daysOfTheMonth:weeks:weekdays:hours:minutes:seconds:setPositions:)](foundation/calendar/recurrencerule/init(calendar:frequency:interval:end:matchingpolicy:repeatedtimepolicy:months:daysoftheyear:daysofthemonth:weeks:weekdays:hours:minutes:seconds:setpositions:).md)

### Type Properties

- [defaultResolverSpecification](foundation/calendar/recurrencerule/defaultresolverspecification.md)

### Structures

- [Calendar.RecurrenceRule.End](foundation/calendar/recurrencerule/end-swift.struct.md)
- [Calendar.RecurrenceRule.Month](foundation/calendar/recurrencerule/month.md)

### Instance Properties

- [calendar](foundation/calendar/recurrencerule/calendar.md)
- [daysOfTheMonth](foundation/calendar/recurrencerule/daysofthemonth.md)
- [daysOfTheYear](foundation/calendar/recurrencerule/daysoftheyear.md)
- [end](foundation/calendar/recurrencerule/end-swift.property.md)
- [frequency](foundation/calendar/recurrencerule/frequency-swift.property.md)
- [hours](foundation/calendar/recurrencerule/hours.md)
- [interval](foundation/calendar/recurrencerule/interval.md)
- [matchingPolicy](foundation/calendar/recurrencerule/matchingpolicy.md)
- [minutes](foundation/calendar/recurrencerule/minutes.md)
- [months](foundation/calendar/recurrencerule/months.md)
- [repeatedTimePolicy](foundation/calendar/recurrencerule/repeatedtimepolicy.md)
- [seconds](foundation/calendar/recurrencerule/seconds.md)
- [setPositions](foundation/calendar/recurrencerule/setpositions.md)
- [weekdays](foundation/calendar/recurrencerule/weekdays.md)
- [weeks](foundation/calendar/recurrencerule/weeks.md)

### Instance Methods

- [recurrences(of:in:)](foundation/calendar/recurrencerule/recurrences(of:in:)-4y30t.md)
- [recurrences(of:in:)](foundation/calendar/recurrencerule/recurrences(of:in:)-7b1ww.md)
- [recurrences(of:in:)](foundation/calendar/recurrencerule/recurrences(of:in:)-7k3ha.md)
- [recurrences(of:in:)](foundation/calendar/recurrencerule/recurrences(of:in:)-8l967.md)
- [recurrences(of:in:)](foundation/calendar/recurrencerule/recurrences(of:in:)-9qfbm.md)

### Type Methods

- [daily(calendar:interval:end:matchingPolicy:repeatedTimePolicy:months:daysOfTheMonth:weekdays:hours:minutes:seconds:setPositions:)](foundation/calendar/recurrencerule/daily(calendar:interval:end:matchingpolicy:repeatedtimepolicy:months:daysofthemonth:weekdays:hours:minutes:seconds:setpositions:).md)
- [hourly(calendar:interval:end:matchingPolicy:repeatedTimePolicy:months:daysOfTheYear:daysOfTheMonth:weekdays:hours:minutes:seconds:setPositions:)](foundation/calendar/recurrencerule/hourly(calendar:interval:end:matchingpolicy:repeatedtimepolicy:months:daysoftheyear:daysofthemonth:weekdays:hours:minutes:seconds:setpositions:).md)
- [minutely(calendar:interval:end:matchingPolicy:repeatedTimePolicy:months:daysOfTheYear:daysOfTheMonth:weekdays:hours:minutes:seconds:setPositions:)](foundation/calendar/recurrencerule/minutely(calendar:interval:end:matchingpolicy:repeatedtimepolicy:months:daysoftheyear:daysofthemonth:weekdays:hours:minutes:seconds:setpositions:).md)
- [monthly(calendar:interval:end:matchingPolicy:repeatedTimePolicy:months:daysOfTheMonth:weekdays:hours:minutes:seconds:setPositions:)](foundation/calendar/recurrencerule/monthly(calendar:interval:end:matchingpolicy:repeatedtimepolicy:months:daysofthemonth:weekdays:hours:minutes:seconds:setpositions:).md)
- [weekly(calendar:interval:end:matchingPolicy:repeatedTimePolicy:months:weekdays:hours:minutes:seconds:setPositions:)](foundation/calendar/recurrencerule/weekly(calendar:interval:end:matchingpolicy:repeatedtimepolicy:months:weekdays:hours:minutes:seconds:setpositions:).md)
- [yearly(calendar:interval:end:matchingPolicy:repeatedTimePolicy:months:daysOfTheYear:daysOfTheMonth:weeks:weekdays:hours:minutes:seconds:setPositions:)](foundation/calendar/recurrencerule/yearly(calendar:interval:end:matchingpolicy:repeatedtimepolicy:months:daysoftheyear:daysofthemonth:weeks:weekdays:hours:minutes:seconds:setpositions:).md)

### Enumerations

- [Calendar.RecurrenceRule.Frequency](foundation/calendar/recurrencerule/frequency-swift.enum.md)
- [Calendar.RecurrenceRule.Weekday](foundation/calendar/recurrencerule/weekday.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [IntentValueConvertible](appintents/intentvalueconvertible.md)
- [IntentValueExpressing](appintents/intentvalueexpressing.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
