Module: Holidays::RS_CYRL

Defined in:
lib/generated_definitions/rs_cyrl.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/rs_cyrl.yaml

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject



33
34
35
36
37
# File 'lib/generated_definitions/rs_cyrl.rb', line 33

def self.custom_methods
  {
      
  }
end

.defined_regionsObject

:nodoc:



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

def self.defined_regions
  [:rs_cyrl]
end

.holidays_by_monthObject



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

def self.holidays_by_month
  {
            0 => [{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Велики петак", :regions => [:rs_cyrl]},
        {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -1, :name => "Велика Субота", :regions => [:rs_cyrl]},
        {:function => "orthodox_easter(year)", :function_arguments => [:year], :name => "Васкрс", :regions => [:rs_cyrl]},
        {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Васкрсни понедељак", :regions => [:rs_cyrl]}],
  1 => [{:mday => 1, :name => "Нова Година", :regions => [:rs_cyrl]},
        {:mday => 2, :name => "Нова Година", :regions => [:rs_cyrl]},
        {:mday => 7, :name => "Божић", :regions => [:rs_cyrl]},
        {:mday => 27, :name => "Свети Сава (Савиндан)", :regions => [:rs_cyrl]}],
  2 => [{:mday => 15, :name => "Дан државности Србије", :regions => [:rs_cyrl]},
        {:mday => 16, :name => "Дан државности Србије", :regions => [:rs_cyrl]}],
  5 => [{:mday => 1, :name => "Празник рада", :regions => [:rs_cyrl]},
        {:mday => 2, :name => "Празник рада", :regions => [:rs_cyrl]},
        {:mday => 9, :type => :informal, :name => "Дан победе над фашизмом", :regions => [:rs_cyrl]}],
  6 => [{:mday => 28, :name => "Видовдан", :regions => [:rs_cyrl]}],
  11 => [{:mday => 11, :name => "Дан примирја", :regions => [:rs_cyrl]}]
  }
end