Flowdock
method

weeknum_to_jd

Importance_0
v1_8_7_72 - Show latest stable - 0 notes - Class: Date
weeknum_to_jd(y, w, d, f=0, ns=GREGORIAN) 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 469
  def self.weeknum_to_jd(y, w, d, f=0, ns=GREGORIAN) # :nodoc:
    a = civil_to_jd(y, 1, 1, ns) + 6
    (a - ((a - f) + 1) % 7 - 7) + 7 * w + d
  end
Register or log in to add new notes.