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

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

require 'holidays'
require 'generated_definitions/hu'

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject



34
35
36
37
38
# File 'lib/generated_definitions/hu.rb', line 34

def self.custom_methods
  {
    
  }
end

.defined_regionsObject

:nodoc:



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

def self.defined_regions
  [:hu]
end

.holidays_by_monthObject



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

def self.holidays_by_month
  {
          0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Húsvét hétfő", :regions => [:hu]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 50, :name => "Pünkösd hé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