Module: Holidays::CR
- Defined in:
- lib/generated_definitions/cr.rb
Overview
This file is generated by the Ruby Holidays gem.
Definitions loaded: definitions/cr.yaml
All the definitions are available at github.com/holidays/holidays
Class Method Summary collapse
Class Method Details
.custom_methods ⇒ Object
29 30 31 32 33 |
# File 'lib/generated_definitions/cr.rb', line 29 def self.custom_methods { } end |
.defined_regions ⇒ Object
:nodoc:
9 10 11 |
# File 'lib/generated_definitions/cr.rb', line 9 def self.defined_regions [:cr] end |
.holidays_by_month ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/generated_definitions/cr.rb', line 13 def self.holidays_by_month { 0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => -3, :name => "Jueves Santo", :regions => [:cr]}, {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Viernes Santo", :regions => [:cr]}], 1 => [{:mday => 1, :name => "Año Nuevo", :regions => [:cr]}], 4 => [{:mday => 11, :name => "Día de Juan Santamaría", :regions => [:cr]}], 5 => [{:mday => 1, :name => "Día del Trabajador", :regions => [:cr]}], 7 => [{:mday => 25, :name => "Día de la Anexión de Guanacaste", :regions => [:cr]}], 8 => [{:mday => 2, :name => "Día de la Virgen de los Angeles", :regions => [:cr]}, {:mday => 15, :name => "Día de la Madre", :regions => [:cr]}], 9 => [{:mday => 15, :name => "Día de la Independencia", :regions => [:cr]}], 10 => [{:mday => 12, :name => "Día de las Culturas", :regions => [:cr]}], 12 => [{:mday => 25, :name => "Navidad", :regions => [:cr]}] } end |