Flowdock
method

dhms_to_delta

Importance_0
v1_9_2_180 - Show latest stable - 0 notes - Class: Delta
dhms_to_delta(y, m, d, h, min, s, fr) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/date/delta.rb, line 137
    def self.dhms_to_delta(y, m, d, h, min, s, fr)
      fr = 0 if fr == 0
      Complex(0, y.to_i * 12 + m.to_i) +
        Rational(d * 86400 + h * 3600 + min * 60 + (s + fr), 86400) # 4p
    end
Register or log in to add new notes.