method

nth_kday

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Date

Method not available on this version

This method is only available on newer versions. The first available version of the method is shown here.

nth_kday(y=-4712, m=1, n=1, k=1, sg=ITALY) private

No documentation

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

Hide source
# File lib/date.rb, line 846
  def self.nth_kday(y=-4712, m=1, n=1, k=1, sg=ITALY)
    unless jd = _valid_nth_kday?(y, m, n, k, sg)
      raise ArgumentError, 'invalid date'
    end
    new!(jd_to_ajd(jd, 0, 0), 0, sg)
  end
Register or log in to add new notes.