# File lib/active_support/core_ext/date_time/calculations.rb, line 36 def change(options) ::DateTime.civil( options[:year] || year, options[:month] || month, options[:day] || day, options[:hour] || hour, options[:min] || (options[:hour] ? 0 : min), options[:sec] || ((options[:hour] || options[:min]) ? 0 : sec), options[:offset] || offset, options[:start] || start ) end