isSameWeek method

bool isSameWeek(
  1. Date other
)

Check if this date is in the same week than other

Implementation

bool isSameWeek(Date other) => startOfWeek == other.startOfWeek;