isSameDay method

bool isSameDay(
  1. DateTime other
)

Check if this date is in the same day than other

Implementation

bool isSameDay(DateTime other) => startOfDay == other.startOfDay;