Whether it is the same calendar day as other.
other
bool isSameDay(DateTime other) => year == other.year && month == other.month && day == other.day;