Changed class YearMonth