# File lib/rufus/sc/rtime.rb, line 196
  def Rufus.to_ttime (d, method)

    usec = (d.sec_fraction * 3600 * 24 * (10**6)).to_i
    Time.send(method, d.year, d.month, d.day, d.hour, d.min, d.sec, usec)
  end