areInTheSameDay method

bool areInTheSameDay(
  1. Date date
)

Implementation

bool areInTheSameDay(Date date) => date.compareTo(this) == 0;