Module: Holidays::ECBTARGET
- Defined in:
- lib/generated_definitions/ecbtarget.rb
Overview
This file is generated by the Ruby Holidays gem.
Definitions loaded: definitions/ecbtarget.yaml
All the definitions are available at github.com/holidays/holidays
Class Method Summary collapse
Class Method Details
.custom_methods ⇒ Object
24 25 26 27 28 |
# File 'lib/generated_definitions/ecbtarget.rb', line 24 def self.custom_methods { } end |
.defined_regions ⇒ Object
:nodoc:
9 10 11 |
# File 'lib/generated_definitions/ecbtarget.rb', line 9 def self.defined_regions [:ecbtarget] end |
.holidays_by_month ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/generated_definitions/ecbtarget.rb', line 13 def self.holidays_by_month { 0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Good Friday", :regions => [:ecbtarget]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Easter Monday", :regions => [:ecbtarget]}], 1 => [{:mday => 1, :name => "New Year's Day", :regions => [:ecbtarget]}], 5 => [{:mday => 1, :name => "Labour Day", :regions => [:ecbtarget]}], 12 => [{:mday => 25, :name => "Christmas Day", :regions => [:ecbtarget]}, {:mday => 26, :name => "Christmas Holiday", :regions => [:ecbtarget]}] } end |