Module: Holidays::CL

Defined in:
lib/generated_definitions/cl.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/cl.yaml

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

require 'holidays'
require 'generated_definitions/cl'

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject


39
40
41
42
43
# File 'lib/generated_definitions/cl.rb', line 39

def self.custom_methods
  {
    
  }
end

.defined_regionsObject


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

def self.defined_regions
  [:cl]
end

.holidays_by_monthObject


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

def self.holidays_by_month
  {
          0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Viernes Santo", :regions => [:cl]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -1, :name => "Sábado Santo", :regions => [:cl]}],
  1 => [{:mday => 1, :name => "Año Nuevo", :regions => [:cl]}],
  5 => [{:mday => 1, :name => "Día del Trabajo", :regions => [:cl]},
        {:mday => 21, :name => "Día de las Glorias Navales", :regions => [:cl]}],
  6 => [{:mday => 29, :name => "San Pedro y San Pablo", :regions => [:cl]}],
  7 => [{:mday => 16, :name => "Día de la Virgen del Carmen", :regions => [:cl]}],
  8 => [{:mday => 15, :name => "Asunción de la Virgen", :regions => [:cl]}],
  9 => [{:mday => 18, :name => "Independencia Nacional", :regions => [:cl]},
        {:mday => 19, :name => "Día de las Glorias del Ejército", :regions => [:cl]}],
  10 => [{:mday => 12, :name => "Encuentro de Dos Mundos", :regions => [:cl]},
        {:mday => 31, :name => "Día de las Iglesias Evangélicas y Protestantes", :regions => [:cl]}],
  11 => [{:mday => 1, :name => "Día de Todos los Santos", :regions => [:cl]}],
  12 => [{:mday => 8, :name => "Inmaculada Concepción de María", :regions => [:cl]},
        {:mday => 25, :name => "Navidad", :regions => [:cl]}]
  }
end