CalculateNextAvailableDay

<< Fare clic per visualizzazione il sommario >>

Percorso:  I servizi di Jamio openwork > Scheduler Service >

CalculateNextAvailableDay

Service

Scheduler

 

Method

CalculateNextAvailableDay

 

Description

Calculates the nearest day available from the current date (included), considering the preferred week days and eventually excluding the Holidays.

 

Input

Name

Description

Type

Optional

currentDate

Starting date.

Datetime

 

availableWeekDays

List of integer representing the Day of Week

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

List of integer

 

holidays

List of Date representing the Holidays to exclude.

List of date

 

Output

Name

Description

Type

Optional

returnValue

A DateTime representing the next available day.

Datetime