method

time_with_zone

time_with_zone(time, zone)
private

No documentation available.

# File activesupport/lib/active_support/core_ext/date_and_time/zones.rb, line 32
    def time_with_zone(time, zone)
      if time
        ActiveSupport::TimeWithZone.new(time.utc? ? time : time.getutc, zone)
      else
        ActiveSupport::TimeWithZone.new(nil, zone, to_time(:utc))
      end
    end