# File lib/date.rb, line 494 def self.day_fraction_to_time(fr) h, fr = fr.divmod(1.to_r/24) min, fr = fr.divmod(1.to_r/1440) s, fr = fr.divmod(1.to_r/86400) return h, min, s, fr end