Module: Holidays::CoreExtensions::Date::ClassMethods

Defined in:
lib/holidays/core_extensions/date.rb

Instance Method Summary collapse

Instance Method Details

#calculate_mday(year, month, week, wday) ⇒ Object



51
52
53
# File 'lib/holidays/core_extensions/date.rb', line 51

def calculate_mday(year, month, week, wday)
  Holidays::Factory::DateCalculator.day_of_month_calculator.call(year, month, week, wday)
end