
**Inheritance:**
java.lang.Object, [com.aspose.tasks.RecurrenceRangeBase](../../com.aspose.tasks/recurrencerangebase)
```
public class EndByRecurrenceRange extends RecurrenceRangeBase
```

Represents the recurrence range of recurring task which is limited by finish day.
## Constructors

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

| Method | Description |
| --- | --- |
| [getFinish()](#getFinish--) | Gets the date which limits the recurrence range of the recurring task. |
| [setFinish(Date value)](#setFinish-java.util.Date-) | Sets the date which limits the recurrence range of the recurring task. |
### EndByRecurrenceRange() {#EndByRecurrenceRange--}
```
public EndByRecurrenceRange()
```


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

### getFinish() {#getFinish--}
```
public final Date getFinish()
```


Gets the date which limits the recurrence range of the recurring task.

**Returns:**
java.util.Date - the date which limits the recurrence range of the recurring task.
### setFinish(Date value) {#setFinish-java.util.Date-}
```
public final void setFinish(Date value)
```


Sets the date which limits the recurrence range of the recurring task.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.util.Date | the date which limits the recurrence range of the recurring task. |

