Module: Holidays::IT

Defined in:
lib/generated_definitions/it.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/it.yaml

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject


30
31
32
33
34
# File 'lib/generated_definitions/it.rb', line 30

def self.custom_methods
  {
    
  }
end

.defined_regionsObject


9
10
11
# File 'lib/generated_definitions/it.rb', line 9

def self.defined_regions
  [:it]
end

.holidays_by_monthObject


13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/generated_definitions/it.rb', line 13

def self.holidays_by_month
  {
          0 => [{:function => "easter(year)", :function_arguments => [:year], :name => "Pasqua", :regions => [:it]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Lunedì dell'Angelo", :regions => [:it]}],
  1 => [{:mday => 1, :name => "Capodanno", :regions => [:it]},
        {:mday => 6, :name => "Epifania", :regions => [:it]}],
  4 => [{:mday => 25, :name => "Festa della Liberazione", :regions => [:it]}],
  5 => [{:mday => 1, :name => "Festa dei Lavoratori", :regions => [:it]}],
  6 => [{:mday => 2, :name => "Festa della Repubblica", :regions => [:it]}],
  8 => [{:mday => 15, :name => "Assunzione", :regions => [:it]}],
  11 => [{:mday => 1, :name => "Ognissanti", :regions => [:it]}],
  12 => [{:mday => 8, :name => "Immacolata Concezione", :regions => [:it]},
        {:mday => 25, :name => "Natale", :regions => [:it]},
        {:mday => 26, :name => "Santo Stefano", :regions => [:it]}]
  }
end