Refactored the long method CalculateNextMonth() in the Schedule class