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

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

require 'holidays'
require 'generated_definitions/it'

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject


36
37
38
39
40
# File 'lib/generated_definitions/it.rb', line 36

def self.custom_methods
  {
    
  }
end

.defined_regionsObject


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

def self.defined_regions
  [:it]
end

.holidays_by_monthObject


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

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