method
month_days
month_days(y, m)
private
Hide source
# File lib/time.rb, line 99 def month_days(y, m) if ((y % 4 == 0) && (y % 100 != 0)) || (y % 400 == 0) LeapYearMonthDays[m-1] else CommonYearMonthDays[m-1] end end