Module: Holidays::HU

Defined in:
lib/generated_definitions/hu.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/hu.yaml

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject



29
30
31
32
33
# File 'lib/generated_definitions/hu.rb', line 29

def self.custom_methods
  {
      
  }
end

.defined_regionsObject

:nodoc:



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

def self.defined_regions
  [:hu]
end

.holidays_by_monthObject



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

def self.holidays_by_month
  {
            0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :year_ranges => { :from => 2017 },:name => "Nagypéntek", :regions => [:hu]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Húsvéthétfő", :regions => [:hu]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 50, :name => "Pünkösdhétfő", :regions => [:hu]}],
  1 => [{:mday => 1, :name => "Újév", :regions => [:hu]}],
  3 => [{:mday => 15, :name => "1848/49-es forradalom és szabadságharc ünnepe", :regions => [:hu]}],
  5 => [{:mday => 1, :name => "A munka ünnepe", :regions => [:hu]}],
  8 => [{:mday => 20, :name => "Az államalapítás ünnepe", :regions => [:hu]}],
  10 => [{:mday => 23, :name => "1956-os forradalom és szabadságharc ünnepe", :regions => [:hu]}],
  11 => [{:mday => 1, :name => "Mindenszentek", :regions => [:hu]}],
  12 => [{:mday => 25, :name => "Karácsony", :regions => [:hu]},
        {:mday => 26, :name => "Karácsony", :regions => [:hu]}]
  }
end