> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSRecurrenceYearPattern

## Constructors

### NSRecurrenceYearPattern()

```crmscript theme={null}
NSRecurrenceYearPattern
```

Initializes a new instance of the NSRecurrenceYearPattern class.

## Methods

## GetCycle()

```crmscript theme={null}
Integer GetCycle()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer)

## GetDay()

```crmscript theme={null}
Integer GetDay()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer)

## GetPattern()

```crmscript theme={null}
Integer GetPattern()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer)

## GetWeekday()

```crmscript theme={null}
Integer GetWeekday()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer)

## GetWeekOfMonth()

```crmscript theme={null}
Integer GetWeekOfMonth()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer)

## SetCycle(Integer)

```crmscript theme={null}
Void SetCycle(Integer cycle)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## SetDay(Integer)

```crmscript theme={null}
Void SetDay(Integer day)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## SetPattern(Integer)

```crmscript theme={null}
Void SetPattern(Integer pattern)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## SetWeekday(Integer)

```crmscript theme={null}
Void SetWeekday(Integer weekday)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## SetWeekOfMonth(Integer)

```crmscript theme={null}
Void SetWeekOfMonth(Integer week)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)


## Related topics

- [SuperOffice.WebApi.Data.RecurrenceYearPattern](/en/api/reference/webapi/SuperOffice.WebApi.Data.RecurrenceYearPattern.md)
- [Enum RecurrenceYearlyPattern](/en/automation/crmscript/reference/CRMScript.NetServer.RecurrenceYearlyPattern.md)
- [SuperOffice.WebApi.Data.RecurrenceYearlyPattern](/en/api/reference/webapi/SuperOffice.WebApi.Data.RecurrenceYearlyPattern.md)
- [Create Default Recurrence](/en/api/reference/restful/agent/appointment_agent/create-default-recurrence.md)
- [SuperOffice.WebApi.Data.RecurrenceInfo](/en/api/reference/webapi/SuperOffice.WebApi.Data.RecurrenceInfo.md)
- [Create Default Recurrence By Date](/en/api/reference/restful/agent/appointment_agent/create-default-recurrence-by-date.md)
