Description
Use PSCCalcWorkDays to calculate number of working days which are in the specified dates range. Workling days are calculated as number of all days between StartDate and FinishDate minus all the holidays which occur during that time. Holidays can be specified as country holidays (in this case pass list of countries in the Countries parameter), as custom holidays defined by CustomHolidays or using custom event passed as ExcludeEvent parameter. Any of the parameters of PSCCalcWorkDays can be set to nil. Set DefaultHolidays parameter to True if you want to exclude holidays for the country which is set as default in locale settings in the operating system. WorkDays parameter specify working days during the week (Ex: Mon-Fri).