# File lib/active_record/vendor/db2.rb, line 335 def adjust_content(c) case c.class.to_s when 'DB2CLI::NullClass' return nil when 'DB2CLI::Time' "%02d:%02d:%02d" % [c.hour, c.minute, c.second] when 'DB2CLI::Date' "%04d-%02d-%02d" % [c.year, c.month, c.day] when 'DB2CLI::Timestamp' "%04d-%02d-%02d %02d:%02d:%02d" % [c.year, c.month, c.day, c.hour, c.minute, c.second] else return c end end