class Chronic::Date
def self.month_overflow?(year, month, day)
def self.month_overflow?(year, month, day) if ::Date.leap?(year) day > Date::MONTH_DAYS_LEAP[month] else day > Date::MONTH_DAYS[month] end end
def self.month_overflow?(year, month, day) if ::Date.leap?(year) day > Date::MONTH_DAYS_LEAP[month] else day > Date::MONTH_DAYS[month] end end