Returns true if the date is in the same day as other, false otherwise.
true
other
false
bool isSameDay(DateTime other) => year == other.year && month == other.month && day == other.day;