
**Inheritance:**
java.lang.Object, [com.aspose.tasks.RecurrencePatternBase](../../com.aspose.tasks/recurrencepatternbase)
```
public class MonthlyRecurrencePattern extends RecurrencePatternBase
```

Represents the set of parameters are used to create a monthly recurring task in a project.
## Constructors

| Constructor | Description |
| --- | --- |
| [MonthlyRecurrencePattern()](#MonthlyRecurrencePattern--) | Initializes a new instance of the [MonthlyRecurrencePattern](../../com.aspose.tasks/monthlyrecurrencepattern) class. |
## Methods

| Method | Description |
| --- | --- |
| [getRepetition()](#getRepetition--) | Gets the recurring repetition pattern. |
| [setRepetition(MonthlyRepetitionBase value)](#setRepetition-com.aspose.tasks.MonthlyRepetitionBase-) | Sets the recurring repetition pattern. |
### MonthlyRecurrencePattern() {#MonthlyRecurrencePattern--}
```
public MonthlyRecurrencePattern()
```


Initializes a new instance of the [MonthlyRecurrencePattern](../../com.aspose.tasks/monthlyrecurrencepattern) class.

### getRepetition() {#getRepetition--}
```
public final MonthlyRepetitionBase getRepetition()
```


Gets the recurring repetition pattern.

**Returns:**
[MonthlyRepetitionBase](../../com.aspose.tasks/monthlyrepetitionbase) - the recurring repetition pattern.
### setRepetition(MonthlyRepetitionBase value) {#setRepetition-com.aspose.tasks.MonthlyRepetitionBase-}
```
public final void setRepetition(MonthlyRepetitionBase value)
```


Sets the recurring repetition pattern.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [MonthlyRepetitionBase](../../com.aspose.tasks/monthlyrepetitionbase) | the recurring repetition pattern. |

