
**Inheritance:**
java.lang.Object, [com.aspose.tasks.WeeklyRepetitionBase](../../com.aspose.tasks/weeklyrepetitionbase)
```
public class WeeklyRepetition extends WeeklyRepetitionBase
```

Represents a pattern which is based on weekdays.
## Constructors

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

| Method | Description |
| --- | --- |
| [getWeekDays()](#getWeekDays--) | Gets a type of weekdays. |
| [setWeekDays(int value)](#setWeekDays-int-) | Sets a type of weekdays. |
### WeeklyRepetition() {#WeeklyRepetition--}
```
public WeeklyRepetition()
```


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

### getWeekDays() {#getWeekDays--}
```
public final int getWeekDays()
```


Gets a type of weekdays.

Read/Write `WeekdayType`.

**Returns:**
int - a type of weekdays.
### setWeekDays(int value) {#setWeekDays-int-}
```
public final void setWeekDays(int value)
```


Sets a type of weekdays.

Read/Write `WeekdayType`.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | a type of weekdays. |

