method

iso8601_timediv

ruby latest stable - Class: DateTime

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.

iso8601_timediv(n)
private

No documentation available.

# File lib/date/format.rb, line 1289
  def iso8601_timediv(n) # :nodoc:
    strftime('T%T' +
             if n < 1
               ''
             else
               '.%0*d' % [n, (sec_fraction / Rational(1, 10**n)).round]
             end +
             '%:z')
  end