Checks if this DateTime is in the same month and year as other.
other
bool isAtSameMonthAs(DateTime other) => isAtSameYearAs(other) && month == other.month;