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

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

require 'holidays'
require 'generated_definitions/cr'

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject



35
36
37
38
39
# File 'lib/generated_definitions/cr.rb', line 35

def self.custom_methods
  {
    
  }
end

.defined_regionsObject

:nodoc:



15
16
17
# File 'lib/generated_definitions/cr.rb', line 15

def self.defined_regions
  [:cr]
end

.holidays_by_monthObject



19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/generated_definitions/cr.rb', line 19

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