module Holidays
def get_date(date)
def get_date(date) if date.respond_to?(:to_date) date.to_date else Date.civil(date.year, date.mon, date.mday) end end
def get_date(date) if date.respond_to?(:to_date) date.to_date else Date.civil(date.year, date.mon, date.mday) end end