# File lib/runt/dprecision.rb, line 33 def DPrecision.explode(date,prec) result = [date.year,date.month,date.day] if(date.respond_to?("hour")) result << date.hour << date.min << date.sec else result << 0 << 0 << 0 end result end