
**Inheritance:**
java.lang.Object, [com.aspose.tasks.YearlyRepetitionBase](../../com.aspose.tasks/yearlyrepetitionbase)
```
public class ByYearDayRepetition extends YearlyRepetitionBase
```

Represents a pattern which is based on the absolute position of a day in a month.
## Constructors

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

| Method | Description |
| --- | --- |
| [getDayPosition()](#getDayPosition--) | Gets a position of day in a month on which the task must be recurring. |
| [getMonth()](#getMonth--) | Gets a month on which the task must be recurring. |
| [setDayPosition(int value)](#setDayPosition-int-) | Sets a position of day in a month on which the task must be recurring. |
| [setMonth(int value)](#setMonth-int-) | Sets a month on which the task must be recurring. |
### ByYearDayRepetition() {#ByYearDayRepetition--}
```
public ByYearDayRepetition()
```


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

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


Gets a position of day in a month on which the task must be recurring.

**Returns:**
int - a position of day in a month on which the task must be recurring.
### getMonth() {#getMonth--}
```
public final int getMonth()
```


Gets a month on which the task must be recurring.

Read/Write `Month`.

**Returns:**
int - a month on which the task must be recurring.
### setDayPosition(int value) {#setDayPosition-int-}
```
public final void setDayPosition(int value)
```


Sets a position of day in a month on which the task must be recurring.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | a position of day in a month on which the task must be recurring. |

### setMonth(int value) {#setMonth-int-}
```
public final void setMonth(int value)
```


Sets a month on which the task must be recurring.

Read/Write `Month`.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | a month on which the task must be recurring. |

