This component contains three server actions:
CalculateDeadline
Calculates the Deadline between a start date, and a user-defined amount of working days.
DeadlineMinutes
Calculates the Deadline (with minute precision) between a start date, and a user-defined amount of minutes.
CalculateWorkingDays
Calculates the working days within a user-defined interval.
All three actions are also available in client actions.
This component also contains all webblocks needed to implement the backoffice funcionality to insert, edit and delete all holidays.
Extra notes:
All the actions above contain input parameters that allows the configuration of the calculation. This means that the user is able to configure if he wants to ignore saturdays, sundays, national holidays or if he wants the holidays in certain localities.
Ex.: If for some reason the user wants to add to the calculation the saturday as a working day, he has that option available by changing the value of a boolean input parameter (IgnoreSaturdays).