Changes in YearMonth class