Module: Holidays::SI

Defined in:
lib/generated_definitions/si.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/si.yaml

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

require 'holidays'
require 'generated_definitions/si'

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject


38
39
40
41
42
# File 'lib/generated_definitions/si.rb', line 38

def self.custom_methods
  {
    
  }
end

.defined_regionsObject


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

def self.defined_regions
  [:si]
end

.holidays_by_monthObject


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

def self.holidays_by_month
  {
          0 => [{:function => "easter(year)", :function_arguments => [:year], :name => "velikonočna nedelja", :regions => [:si]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "velikonočni ponedeljek", :regions => [:si]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 49, :name => "binkošti", :regions => [:si]}],
  1 => [{:mday => 1, :name => "novo leto", :regions => [:si]}],
  2 => [{:mday => 8, :name => "Prešernov dan, slovenski kulturni praznik", :regions => [:si]}],
  4 => [{:mday => 27, :name => "dan upora proti okupatorju", :regions => [:si]}],
  5 => [{:mday => 1, :name => "praznik dela", :regions => [:si]},
        {:mday => 2, :name => "praznik dela", :regions => [:si]}],
  6 => [{:mday => 25, :name => "dan državnosti", :regions => [:si]}],
  8 => [{:mday => 15, :name => "Marijino vnebovzetje", :regions => [:si]}],
  10 => [{:mday => 31, :name => "dan reformacije", :regions => [:si]}],
  11 => [{:mday => 1, :name => "dan spomina na mrtve", :regions => [:si]}],
  12 => [{:mday => 25, :name => "božič", :regions => [:si]},
        {:mday => 26, :name => "dan samostojnosti in enotnosti", :regions => [:si]}]
  }
end