# File lib/runt/temporalexpression.rb, line 584
  def include?(date)
    # 
    # If @less_precise_match == true and the precision of the argument
    #  is day or greater, then the result is always true
    return true if @less_precise_match && date.date_precision <= DPrecision::DAY
    if(@spans_midnight&&date.hour<12) then
      #Assume next day
      return @range.include?(get_next(date.hour,date.min))
    end

    #Same day
    return @range.include?(get_current(date.hour,date.min))
  end