Added support for calculating fitness measures based on start and end date
Refactored to streamline date handling code