Returns true if the date is in the same month as other, false otherwise.
true
other
false
bool isSameMonth(DateTime other) => year == other.year && month == other.month;