
**Inheritance:**
java.lang.Object
```
public class WorkDay
```

Represents a work day.
## Constructors

| Constructor | Description |
| --- | --- |
| [WorkDay()](#WorkDay--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getDayType()](#getDayType--) | Returns the type of a day. |
| [getDayWorking()](#getDayWorking--) | Determines whether the specified date or day type is working. |
| [setDayType(int value)](#setDayType-int-) | Sets the type of a day. |
| [setDayWorking(boolean value)](#setDayWorking-boolean-) | Determines whether the specified date or day type is working. |
### WorkDay() {#WorkDay--}
```
public WorkDay()
```


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


Returns the type of a day.

**Returns:**
int - the type of a day (`Aspose.Tasks.DayType`).
### getDayWorking() {#getDayWorking--}
```
public final boolean getDayWorking()
```


Determines whether the specified date or day type is working. Read/write `bool`.

**Returns:**
boolean - true if the day is working.
### setDayType(int value) {#setDayType-int-}
```
public final void setDayType(int value)
```


Sets the type of a day.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the type of a day `Aspose.Tasks.DayType`. |

### setDayWorking(boolean value) {#setDayWorking-boolean-}
```
public final void setDayWorking(boolean value)
```


Determines whether the specified date or day type is working.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | boolean that determines whether the specified date or day type is working. |

