isSameMonth method

bool isSameMonth(
  1. DateTime other
)

Check if this date is in the same month than other

Implementation

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