Module: Holidays::BE

Defined in:
lib/generated_definitions/be.rb

Overview

This file is generated by the Ruby Holidays gem.

Definitions loaded: definitions/be.yaml

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

require 'holidays'
require 'generated_definitions/be'

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

Class Method Summary collapse

Class Method Details

.custom_methodsObject



36
37
38
39
40
# File 'lib/generated_definitions/be.rb', line 36

def self.custom_methods
  {
    
  }
end

.defined_regionsObject

:nodoc:



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

def self.defined_regions
  [:be]
end

.holidays_by_monthObject



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

def self.holidays_by_month
  {
          0 => [{:function => "easter(year)", :function_arguments => [:year], :name => "Pâques", :regions => [:be]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Lundi de Pâques", :regions => [:be]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 39, :name => "Ascension", :regions => [:be]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 49, :name => "Pentecôte", :regions => [:be]},
        {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 50, :name => "Lundi de Pentecôte", :regions => [:be]}],
  1 => [{:mday => 1, :name => "Jour de l'an", :regions => [:be]}],
  5 => [{:mday => 1, :name => "Fête du travail", :regions => [:be]}],
  7 => [{:mday => 21, :name => "Fête nationale", :regions => [:be]}],
  8 => [{:mday => 15, :name => "Assomption", :regions => [:be]}],
  11 => [{:mday => 1, :name => "Toussaint", :regions => [:be]},
        {:mday => 11, :name => "Armistice 1918", :regions => [:be]}],
  12 => [{:mday => 25, :name => "Noël", :regions => [:be]}]
  }
end