isSameMonth method

bool isSameMonth(
  1. Date other
)

Check if this date is in the same month than other

Implementation

bool isSameMonth(Date other) => startOfMonth == other.startOfMonth;