Module: Holidays::Definition::CustomMethods::FEDEX

Defined in:
lib/holidays/definition/custom_methods/fedex.rb

Overview

fedex custom holiday calculations, ported verbatim from the methods: block in definitions/fedex.yaml.

Class Method Summary collapse

Class Method Details

.day_after_thanksgiving(year) ⇒ Object



10
11
12
# File 'lib/holidays/definition/custom_methods/fedex.rb', line 10

def day_after_thanksgiving(year)
  Holidays::Factory::DateCalculator.day_of_month_calculator.call(year, 11, 4, 4) + 1
end