Module: Holidays::NL

Defined in:
lib/generated_definitions/nl.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/nl.yaml

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject



31
32
33
34
35
# File 'lib/generated_definitions/nl.rb', line 31

def self.custom_methods
  {
      
  }
end

.defined_regionsObject

:nodoc:



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

def self.defined_regions
  [:nl]
end

.holidays_by_monthObject



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

def self.holidays_by_month
  {
            0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :type => :informal, :name => "Goede Vrijdag", :regions => [:nl]},
        {:function => "easter(year)", :function_arguments => [:year], :name => "Eerste Paasdag", :regions => [:nl]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Tweede Paasdag", :regions => [:nl]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 39, :name => "Hemelvaartsdag", :regions => [:nl]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 49, :name => "Eerste Pinksterdag", :regions => [:nl]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 50, :name => "Tweede Pinksterdag", :regions => [:nl]}],
  1 => [{:mday => 1, :name => "Nieuwjaarsdag", :regions => [:nl]}],
  4 => [{:mday => 27, :name => "Koningsdag", :regions => [:nl]}],
  5 => [{:mday => 4, :type => :informal, :name => "Dodenherdenking", :regions => [:nl]},
        {:mday => 5, :name => "Bevrijdingsdag", :regions => [:nl]}],
  12 => [{:mday => 5, :type => :informal, :name => "Sinterklaas", :regions => [:nl]},
        {:mday => 25, :name => "Eerste Kerstdag", :regions => [:nl]},
        {:mday => 26, :name => "Tweede Kerstdag", :regions => [:nl]}]
  }
end