working-days
Web icon

Working Days

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 12 March 2021
 by 
5.0
 (2 ratings)
working-days

Working Days

Details
This component allows you to control and manage all holidays (National or Local) of your application. It also provides several functionalities in order to calculate the working days between two given dates, or a deadline between a start date and an interval of minutes or working days. These actions are also available as Service Actions.
Read more

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.


And five service actions:

  • Service_CalculateDeadline 
    • Calculates the Deadline between a start date, and a user-defined amount of working days.
  • Service_DeadlineMinutes
    • Calculates the Deadline (with minute precision) between a start date, and a user-defined amount of minutes.
  • Service_CalculateWorkingDays 
    • Calculates the working days within a user-defined interval.
  • Service_WorkingDayVerify 
    • Method to verify if a given day is a working day or not.
  • Service_CalendarMonthGenerate 
    • Generates a month calendar depending on the input parameters of Year and Month .


This component also contains all webblocks needed to implement the backoffice funcionality to insert, edit and delete all holidays. As you can see in our demo application.


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).
Release notes (1.0.1)

We added an action that Calculates the Deadline between a start date, and a user-defined amount of minutes. This action also has parameters to control the business hours (Morning Start and End hour / End Start and End hour).

We also added a service module with all actions as service.

Reviews (0)
Team
Other assets in this category