Whether this date is before other.
other
bool isBefore(Date other) => toDateTime().isBefore(other.toDateTime());