GetNoWorkingDays

<< Fare clic per visualizzazione il sommario >>

Percorso:  I servizi di Jamio openwork > Scheduler Service >

GetNoWorkingDays

Service

Scheduler

 

Method

GetNoWorkingDays

 

Description

Calculates the number of non working days between 2 dates, according to a list of weekly working days and a list of holidays.

 

Input

Name

Description

Type

Optional

startDate

The initial date.

Datetime

 

endDate

The final date

Datetime

 

weeklyWorkingDays

List of working days for a week

(0=Sunday,1=Monday,2=Tuesday,3=Wednesday,4=Thursday,5=Friday,6=Saturday).

List of integer

 

holidays

List of dates representing the holidays.

List of date

 

Output

Name

Description

Type

Optional

returnValue

The calculated number of days.

Integer