Get first day of YearMonth and convert back to YearMonth
DateTime get firstDay => DateTime(year, month, 1);