Module: Holidays::HR

Defined in:
lib/generated_definitions/hr.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/hr.yaml

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/hr.rb', line 34

def self.custom_methods
  {
      
  }
end

.defined_regionsObject

:nodoc:



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

def self.defined_regions
  [:hr]
end

.holidays_by_monthObject



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

def self.holidays_by_month
  {
            0 => [{:function => "easter(year)", :function_arguments => [:year], :name => "Uskrs", :regions => [:hr]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Uskrsni ponedjeljak", :regions => [:hr]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 60, :name => "Tijelovo", :regions => [:hr]}],
  1 => [{:mday => 1, :name => "Nova godina", :regions => [:hr]},
        {:mday => 6, :name => "Bogojavljenje ili Sveta tri kralja", :regions => [:hr]}],
  5 => [{:mday => 1, :name => "Praznik rada", :regions => [:hr]},
        {:mday => 30, :year_ranges => { :from => 2020 },:name => "Dan državnosti", :regions => [:hr]}],
  6 => [{:mday => 22, :name => "Dan antifašističke borbe", :regions => [:hr]},
        {:mday => 25, :year_ranges => { :until => 2019 },:name => "Dan državnosti", :regions => [:hr]}],
  8 => [{:mday => 5, :name => "Dan pobjede i domovinske zahvalnosti i Dan hrvatskih branitelja", :regions => [:hr]},
        {:mday => 15, :name => "Velika Gospa", :regions => [:hr]}],
  10 => [{:mday => 8, :year_ranges => { :until => 2019 },:name => "Dan neovisnosti", :regions => [:hr]}],
  11 => [{:mday => 1, :name => "Svi sveti", :regions => [:hr]},
        {:mday => 18, :year_ranges => { :from => 2020 },:name => "Dan sjećanja na žrtve Domovinskog rata i Dan sjećanja na žrtvu Vukovara i Škabrnje", :regions => [:hr]}],
  12 => [{:mday => 25, :name => "Božić", :regions => [:hr]},
        {:mday => 26, :name => "Sveti Stjepan", :regions => [:hr]}]
  }
end