# File activesupport/lib/active_support/core_ext/range/include_time_with_zone.rb, line 12
def include?(value)
if self.begin.is_a?(TimeWithZone) || self.end.is_a?(TimeWithZone)
ActiveSupport::Deprecation.warn( Using `Range#include?` to check the inclusion of a value in a date time range is deprecated. It is recommended to use `Range#cover?` instead of `Range#include?` to check the inclusion of a value in a date time range..squish)
cover?(value)
else
super
end
end