The component contains three functions:
StartDateAndEndDate_Month: Takes a date and returns a start date of the month and end date of the month.
StartDateAndEndDate_Week: It takes a date and the first day of the week and returns a start date of the week and the end date of the week. If doesn't choose the first day of the week, the default value is Monday.
GetWeekOfMonth: This function returns the week of the month from the chosen first day of the week.
In the StartDateAndEndDate_Week function, the DayOfWeekBegins input is no longer mandatory. Assuming the default value is Monday.