Module: Holidays::RS_LA

Defined in:
lib/generated_definitions/rs_la.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/rs_la.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_la.rb', line 33

def self.custom_methods
  {
      
  }
end

.defined_regionsObject

:nodoc:



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

def self.defined_regions
  [:rs_la]
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_la.rb', line 13

def self.holidays_by_month
  {
            0 => [{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Veliki Petak", :regions => [:rs_la]},
        {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -1, :name => "Velika Subota", :regions => [:rs_la]},
        {:function => "orthodox_easter(year)", :function_arguments => [:year], :name => "Uskrs", :regions => [:rs_la]},
        {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Vaskrsni ponedeljak", :regions => [:rs_la]}],
  1 => [{:mday => 1, :name => "Nova Godina", :regions => [:rs_la]},
        {:mday => 2, :name => "Nova Godina", :regions => [:rs_la]},
        {:mday => 7, :name => "Božić", :regions => [:rs_la]},
        {:mday => 27, :name => "Dan Svetog Save", :regions => [:rs_la]}],
  2 => [{:mday => 15, :name => "Dan državnosti Srbije", :regions => [:rs_la]},
        {:mday => 16, :name => "Dan državnosti Srbije", :regions => [:rs_la]}],
  5 => [{:mday => 1, :name => "Praznik rada", :regions => [:rs_la]},
        {:mday => 2, :name => "Praznik rada", :regions => [:rs_la]},
        {:mday => 9, :type => :informal, :name => "Dan pobede", :regions => [:rs_la]}],
  6 => [{:mday => 28, :name => "Vidovdan", :regions => [:rs_la]}],
  11 => [{:mday => 11, :name => "Dan primirja", :regions => [:rs_la]}]
  }
end