The component in the first version contains only two functions:
StartDateAndEndDate_Month: It takes a date and returns a month start date and month end date.
StartDateAndEndDate_Month: It takes a date and returns a week start date and week end date.With the week starting on Monday.(In the next version it will be possible to select which day the week starts)