in_time_zone(new_zone = ::Time.zone)
public
Returns the simultaneous time in
Time.zone, or the specified zone.
# File activesupport/lib/active_support/time_with_zone.rb, line 61
def in_time_zone(new_zone = ::Time.zone)
return self if time_zone == new_zone
utc.in_time_zone(new_zone)
end