Module: Holidays::CZ

Defined in:
lib/holidays/cz.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: data/cz.yaml

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

require 'holidays'
require 'holidays/cz'

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

Class Method Summary (collapse)

Class Method Details

+ (Object) defined_regions



15
16
17
# File 'lib/holidays/cz.rb', line 15

def self.defined_regions
  [:cz]
end

+ (Object) holidays_by_month



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

def self.holidays_by_month
  {
          0 => [{:function => lambda { |year| Holidays.easter(year)+1 }, :function_id => "easter(year)+1", :name => "Velikonoční pondělí", :regions => [:cz]}],
  1 => [{:mday => 1, :name => "Den obnovy samostatného českého státu", :regions => [:cz]}],
  5 => [{:mday => 1, :name => "Svátek práce", :regions => [:cz]},
        {:mday => 8, :name => "Den vítězství", :regions => [:cz]}],
  7 => [{:mday => 5, :name => "Den slovanských věrozvěstů Cyrila a Metoděje", :regions => [:cz]},
        {:mday => 6, :name => "Den upálení mistra Jana Husa", :regions => [:cz]}],
  9 => [{:mday => 28, :name => "Den české státnosti", :regions => [:cz]}],
  10 => [{:mday => 28, :name => "Den vzniku samostatného československého státu", :regions => [:cz]}],
  11 => [{:mday => 17, :name => "Den boje za svobodu a demokracii", :regions => [:cz]}],
  12 => [{:mday => 24, :name => "Štědrý den", :regions => [:cz]},
        {:mday => 25, :name => "1. svátek vánoční", :regions => [:cz]},
        {:mday => 26, :name => "2. svátek vánoční", :regions => [:cz]}]
  }
end