[]
        
(Showing Draft Content)

GC.Spread.Sheets.GanttSheet.WorkWeek

Class: WorkWeek

Sheets.GanttSheet.WorkWeek

Hierarchy

Table of contents

Constructors

Methods

Constructors

constructor

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.

Parameters

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.

Methods

getWorkDay

getWorkDay(index): WorkDay

Gets the work times for the specified day in the week.

Parameters

Name Type Description
index number A number from 0 to 6, or a DayOfWeek value indicates the day.

Returns

WorkDay

The work times for the specified day.