instance method
transfer_time_values_to_utc_constructor
Ruby on Rails 2.2.3
Since v2.2.3 PrivateSignature
transfer_time_values_to_utc_constructor(time)
No documentation comment.
Parameters
-
timereq
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 324
def transfer_time_values_to_utc_constructor(time)
::Time.utc_time(time.year, time.month, time.day, time.hour, time.min, time.sec, time.respond_to?(:usec) ? time.usec : 0)
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 324
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone