method
month_days
ruby latest stable - Class:
Time
month_days(y, m)private
No documentation available.
# File lib/time.rb, line 199
def month_days(y, m)
if ((y % 4 == 0) && (y % 100 != 0)) || (y % 400 == 0)
LeapYearMonthDays[m-1]
else
CommonYearMonthDays[m-1]
end
end