fixes #133 - TimePeriod now gives 1 month 0 days if days == daysInMonth