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
To use the definitions in this file, load it right after you load the Holiday gem:
require 'holidays'
require 'generated_definitions/ie'
All the definitions are available at github.com/holidays/holidays
Class Method Summary collapse
Class Method Details
.custom_methods ⇒ Object
33 34 35 36 37 |
# File 'lib/generated_definitions/ie.rb', line 33 def self.custom_methods { } end |
.defined_regions ⇒ Object
:nodoc:
15 16 17 |
# File 'lib/generated_definitions/ie.rb', line 15 def self.defined_regions [:ie] end |
.holidays_by_month ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/generated_definitions/ie.rb', line 19 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 |