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

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

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

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


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

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


Gets the recurring repetition pattern.

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


Sets the recurring repetition pattern.

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

