# File lib/ri_cal/core_extensions/time/calculations.rb, line 11 def leap_year? year % 4 == 0 && (year % 400 == 0 || year % 100 != 0) end