Returns true if the date is between or equal to one of the two values.