A little helper method to calculate a period based on month/year