Module: Holidays::IE

Defined in:
lib/generated_definitions/ie.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/ie.yaml

All the definitions are available at github.com/holidays/holidays

Class Method Summary collapse

Class Method Details

.custom_methodsObject



27
28
29
30
31
# File 'lib/generated_definitions/ie.rb', line 27

def self.custom_methods
  {
      
  }
end

.defined_regionsObject

:nodoc:



9
10
11
# File 'lib/generated_definitions/ie.rb', line 9

def self.defined_regions
  [:ie]
end

.holidays_by_monthObject



13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/generated_definitions/ie.rb', line 13

def self.holidays_by_month
  {
            0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Easter Monday", :regions => [:ie]}],
  1 => [{:mday => 1, :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "New Year's Day", :regions => [:ie]}],
  3 => [{:mday => 17, :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "St. Patrick's Day", :regions => [:ie]}],
  5 => [{:wday => 1, :week => 1, :name => "May Day", :regions => [:ie]}],
  6 => [{:wday => 1, :week => 1, :name => "June Bank Holiday", :regions => [:ie]}],
  8 => [{:wday => 1, :week => 1, :name => "August Bank Holiday", :regions => [:ie]}],
  10 => [{:wday => 1, :week => -1, :name => "October Bank Holiday", :regions => [:ie]}],
  12 => [{:mday => 25, :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "Christmas Day", :regions => [:ie]},
        {:mday => 26, :observed => "to_weekday_if_boxing_weekend(date)", :observed_arguments => [:date], :name => "St. Stephen's Day", :regions => [:ie]}]
  }
end