Checks if the current DateTime has the same month as another DateTime.
Returns true when the month values match.
true
@useResult bool isSameMonth(DateTime other) => month == other.month;