Module: Holidays::Factory::DateCalculator

Defined in:
lib/holidays/factory/date_calculator.rb

Defined Under Namespace

Modules: Easter

Class Method Summary collapse

Class Method Details

.day_of_month_calculatorObject



36
37
38
# File 'lib/holidays/factory/date_calculator.rb', line 36

def day_of_month_calculator
  Holidays::DateCalculator::DayOfMonth.new
end

.lunar_dateObject



28
29
30
# File 'lib/holidays/factory/date_calculator.rb', line 28

def lunar_date 
  Holidays::DateCalculator::LunarDate.new
end

.weekend_modifierObject



32
33
34
# File 'lib/holidays/factory/date_calculator.rb', line 32

def weekend_modifier
  Holidays::DateCalculator::WeekendModifier.new
end