
## WorkUnit class

Represents working hours.

The WorkUnit type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|WorkUnit(from_address, to)|Initializes a new instance of the [WorkUnit](/tasks/python-net/aspose.tasks/workunit/) class.<br/>            Creates new WorkUnit object with the specified From and To dates.|
## Properties
| Name | Description |
| :- | :- |
|from_address|Gets or sets the From date.|
|to|Gets or sets the To date.|
|working_hours|Gets or sets the duration of working hours.|

### See Also

* namespace [aspose.tasks](/tasks/python-net/aspose.tasks/)
* assembly [Aspose.Tasks](/tasks/python-net/)

