[]
Sheets.GanttSheet.WorkWeek
WorkWeek
• new WorkWeek(workDays)
Creates a new week with the specified work times of each day.
classdesc Represents the a week in calender, which defines the work times of each day.
| Name | Type | Description |
|---|---|---|
workDays |
WorkDay[] |
A workday array with 7 items from Sunday to Saturday, specifies the work times of each day in a week. |
▸ getWorkDay(index): WorkDay
Gets the work times for the specified day in the week.
| Name | Type | Description |
|---|---|---|
index |
number |
A number from 0 to 6, or a DayOfWeek value indicates the day. |
The work times for the specified day.