feat: getDayOfYear() - Returns the day number of the date of that year
feat: getDifferenceInYears() - Calculates the difference in years given the start and the end date
refactor: rename to getRemainingDaysInWeek() for consistency
feat: getRemainingDaysInYear() - Returns the remaining days in the year given the beginning date
refactor: move common lines of code before the condition block to avoid repetition of code
refactor: change to single line comments
correction: update endDate if greater than toDate to send correct period value
feat: calculate difference in years
feat: calculate the period values for year
feat: call addColumns() based on difference in years