Module: Holidays::SK

Defined in:
lib/generated_definitions/sk.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/sk.yaml

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

require 'holidays'
require 'generated_definitions/sk'

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject


39
40
41
42
43
# File 'lib/generated_definitions/sk.rb', line 39

def self.custom_methods
  {
    
  }
end

.defined_regionsObject


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

def self.defined_regions
  [:sk]
end

.holidays_by_monthObject


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

def self.holidays_by_month
  {
          0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Veľkonočný pondelok", :regions => [:sk]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Veľký piatok", :regions => [:sk]}],
  1 => [{:mday => 1, :name => "Nový rok", :regions => [:sk]},
        {:mday => 6, :name => "Zjavenie Pána (Traja králi)", :regions => [:sk]}],
  5 => [{:mday => 1, :name => "Sviatok práce", :regions => [:sk]},
        {:mday => 8, :name => "Deň víťazstva nad fašizmom", :regions => [:sk]}],
  7 => [{:mday => 5, :name => "Sviatok svätého Cyrila a svätého Metoda", :regions => [:sk]}],
  8 => [{:mday => 29, :name => "Výročie Slovenského národného povstania", :regions => [:sk]}],
  9 => [{:mday => 1, :name => "Deň Ústavy Slovenskej republiky", :regions => [:sk]},
        {:mday => 15, :name => "Sedembolestná Panna Mária", :regions => [:sk]}],
  11 => [{:mday => 1, :name => "Sviatok všetkých svätých", :regions => [:sk]},
        {:mday => 17, :name => "Deň boja za slobodu a demokraciu", :regions => [:sk]}],
  12 => [{:mday => 24, :name => "Štedrý deň", :regions => [:sk]},
        {:mday => 25, :name => "1. sviatok vianočný", :regions => [:sk]},
        {:mday => 26, :name => "2. sviatok vianočný", :regions => [:sk]}]
  }
end