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

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

require 'holidays'
require 'generated_definitions/nl'

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject



37
38
39
40
41
# File 'lib/generated_definitions/nl.rb', line 37

def self.custom_methods
  {
    
  }
end

.defined_regionsObject

:nodoc:



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

def self.defined_regions
  [:nl]
end

.holidays_by_monthObject



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

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