java.lang.Object | |
↳ | com.datalogic.device.configuration.WorkSchedule.Builder |
Builder for WorkSchedule.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for Builder.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a generic work time info.
| |||||||||||
Add a work time info for a specific day of the week.
| |||||||||||
Add a work time info for a specific day of the week.
| |||||||||||
Build the WorkSchedule instance.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Add a generic work time info.
workTimeInfo | the work time info to add. |
---|
IllegalArgumentException | if the work time info overlaps with an existing one. |
---|
Add a work time info for a specific day of the week.
weekDay | the day of the week (0 = generic, 1 = Sunday, 2 = Monday, ..., 7 = Saturday) |
---|---|
workTimeInfo | the work time info to add. |
IllegalArgumentException | if the week day is not between 0 and 7, or if the work time info overlaps with an existing one. |
---|
Add a work time info for a specific day of the week.
day | the day of the week (1 = Sunday, 2 = Monday, ..., 7 = Saturday) |
---|---|
workTimeInfo | the work time info to add. |
IllegalArgumentException | if the week day is not between 1 and 7, or if the work time info overlaps with an existing one. |
---|
Build the WorkSchedule instance.