method
jd_to_nth_kday
v1_9_2_180 -
Show latest stable
- Class:
Date
jd_to_nth_kday(jd, sg=GREGORIAN)public
No documentation available.
# File lib/date.rb, line 488
def jd_to_nth_kday(jd, sg=GREGORIAN) # :nodoc:
y, m, d = jd_to_civil(jd, sg)
j = find_fdom(y, m, sg)
return y, m, ((jd - j) / 7).floor + 1, jd_to_wday(jd)
end