module Holidays::ECB_TARGET

def self.defined_regions

:nodoc:
All the definitions are available at https://github.com/alexdunae/holidays

require 'holidays/ecb_target'
require 'holidays'

Holiday gem:
To use the definitions in this file, load it right after you load the

Definitions loaded: data/ecb_target.yaml

This file is generated by the Ruby Holidays gem.
def self.defined_regions
  [:ecb_target]
end

def self.holidays_by_month

def self.holidays_by_month
  {
          0 => [{:function => lambda { |year| Holidays.easter(year)-2 }, :function_id => "easter(year)-2", :name => "Good Friday", :regions => [:ecb_target]},
        {:function => lambda { |year| Holidays.easter(year)+1 }, :function_id => "easter(year)+1", :name => "Easter Monday", :regions => [:ecb_target]}],
  1 => [{:mday => 1, :name => "New Year's Day", :regions => [:ecb_target]}],
  5 => [{:mday => 1, :name => "Labour Day", :regions => [:ecb_target]}],
  12 => [{:mday => 25, :name => "Christmas Day", :regions => [:ecb_target]},
        {:mday => 26, :name => "Christmas Holiday", :regions => [:ecb_target]}]
  }
end