method
transfer_time_values_to_utc_constructor
transfer_time_values_to_utc_constructor(time)
private
Hide source
# File activesupport/lib/active_support/time_with_zone.rb, line 349 def transfer_time_values_to_utc_constructor(time) usec = time.respond_to?(:nsec) ? Rational(time.nsec, 1000) : (time.respond_to?(:usec) ? time.usec : 0) ::Time.utc_time(time.year, time.month, time.day, time.hour, time.min, time.sec, usec) end