Whether this date is before other ignoring time.
other
bool isBeforeDay(DateTime other) => startOfDay.isBefore(other.startOfDay);