The checkCalendarDate function checks whether the specified date is inside the specified condition. The condition includes the Include Calendar, Exclude Calendar, Delta, Open Days and Max shifts. See Calendar Properties for more information about these parameters.
Syntax
bIsAvail = checkCalendarDate(date, includeCalendar, excludeCalendar, delta, openDays, maxShifts)
Arguments
Specifies the input date.
Specifies the path of the include calendar object.
Specifies the path of the exclude calendar object.
Specifies the delta.
Specifies the openDays value.
Specifies the maxshifts value.
Return Value
This function returns true if the specified date is open and false if it not.
Example
Process.sIncCal=absPath("IncCal");
Process.sExcCal=absPath("ExcCal");Process.bCaldate = checkCalendarDate(today(),sIncCal,sExcCal,0,false,0);
|
Copyright © 2014 CA.
All rights reserved.
|
|